Re: been away awhile but postgresql doesn't work for me now - Mailing list pgsql-novice

From Tom Lane
Subject Re: been away awhile but postgresql doesn't work for me now
Date
Msg-id 2791030.1750536336@sss.pgh.pa.us
Whole thread Raw
In response to been away awhile but postgresql doesn't work for me now  (Sherman Willden <sherman.willden@gmail.com>)
List pgsql-novice
Sherman Willden <sherman.willden@gmail.com> writes:
> Basic complaint: polgresql 16 doesn't function as I think it should
> First Error: postgresql psql server connection failed error
> Second Error: Even after modifying /etc/postgresql/16/main/pg_hba.conf
>               to trust the system is asking for postgres password.

First question: did you restart the PG server, or at least do
"pg_ctl reload", after modifying pg_hba.conf?  It won't notice
config file changes till you do.

Second question: are you sure there's only one PG installation
on the machine?  You might be connecting to a different installation
than you think you are.

None of this stuff has changed greatly in the past couple of years.
My guess is that you don't have the system configured quite the
same as you did before.

            regards, tom lane



pgsql-novice by date:

Previous
From: Sherman Willden
Date:
Subject: been away awhile but postgresql doesn't work for me now
Next
From: Sherman Willden
Date:
Subject: Re: been away awhile but postgresql doesn't work for me now