From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Atul Kumar <akumar14871@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: psql asks for password despite configuring trust authentication
Date: Thu, 29 Oct 2020 11:02:14 -0700
Message-ID: <e9786a99-9f1f-b69f-e431-9046e680a8d9@aklaver.com> (raw)
In-Reply-To: <CA+ONtZ40yH_mkYeoG8aJHq73mPGAnH7zqZ4m0F=p19bvnvnJFA@mail.gmail.com>
References: <CA+ONtZ40yH_mkYeoG8aJHq73mPGAnH7zqZ4m0F=p19bvnvnJFA@mail.gmail.com>
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.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, akumar14871@gmail.com
Subject: Re: psql asks for password despite configuring trust authentication
In-Reply-To: <e9786a99-9f1f-b69f-e431-9046e680a8d9@aklaver.com>
References: <CA+ONtZ40yH_mkYeoG8aJHq73mPGAnH7zqZ4m0F=p19bvnvnJFA@mail.gmail.com> <e9786a99-9f1f-b69f-e431-9046e680a8d9@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox