Re: psql asks for password despite configuring trust authentication

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Atul Kumar <akumar14871(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: psql asks for password despite configuring trust authentication
Date: 2020-10-29 18:02:14
Message-ID: e9786a99-9f1f-b69f-e431-9046e680a8d9@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/29/20 10:59 AM, Atul Kumar wrote:
> hi,
>
> My problem is, that I am always asked for password when trying to
> interact with the database or access it, although the authentication
> is set to trust for all users and databases.

What is the connection command you are using?

Did you reload the server after making changes to pg_hba.conf?

Are you sure you are pointing at the right database?

What are the contents of your pg_hba.conf file?

>
> Please help.
>
>
>
> Regards,
> Atul
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ganesh Korde 2020-10-29 19:07:57 Re: psql asks for password despite configuring trust authentication
Previous Message Atul Kumar 2020-10-29 17:59:51 psql asks for password despite configuring trust authentication