| From: | Atul Kumar <akumar14871(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | strange behavior of pg_hba.conf file |
| Date: | 2023-11-22 16:21:40 |
| Message-ID: | CA+ONtZ7nMGfC23Gpgq7x9YtuP3YpqwXDQZNK6NdLTFn7e2fhrw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi,
I have postgres 12 running in centos 7, recently I changed the
authentication of entries of pg_hba.conf to scram-sh-256 for localhost.
Since then I have started getting the below error:
no pg_hba.conf entry for host "::1", user "postgres", database "postgres
The entry of pg_hba.conf is like below:
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all
scram-sha-256
# IPv4 local connections:
host all postgres 127.0.0.1/32 scram-sha-256
What I am missing here, please suggest.
Regards,
Atul
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ron Johnson | 2023-11-22 16:22:53 | Re: General support on postgres replication |
| Previous Message | Ron Johnson | 2023-11-22 16:18:59 | Re: Feature request: pg_get_tabledef(text) |