From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | "Abraham, Danny" <danny_abraham(at)bmc(dot)com> |
Cc: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Francisco Olarte <folarte(at)peoplecall(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: [EXTERNAL] Re: Cannot connect local with ttrust (pg_upgrade assumes it) |
Date: | 2025-04-09 19:34:01 |
Message-ID: | CAKFQuwZTtwHfwKwnm+UV8hg1Fj6aV7HogpG1Uw78ZO=DkOOObA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Apr 9, 2025, 12:21 Abraham, Danny <danny_abraham(at)bmc(dot)com> wrote:
> Thanks again.
> Here is the example:
> >>>>>>>>
> dba-tlv-x6y64k% cat pg_hba.conf
> # TYPE DATABASE USER CIDR-ADDRESS METHOD
> local all all trust
> host all all 0.0.0.0/0 scram-sha-256
>
> dba-tlv-x6y64k% pg_ctl reload
> server signaled
> dba-tlv-x6y64k% psql -Upostgres
> Password for user postgres:
> psql (17.4)
> Type "help" for help.
>
> ctrlmdb=#
> >>>>>>>
> PSQL should not have asked for the password.
> Thanks
> Danny
>
Suggests there are environment variables coming into play making
non-default choices for you. Namely, making you not use local as the
connection method.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Abraham, Danny | 2025-04-09 20:40:00 | RE: [EXTERNAL] Re: Cannot connect local with ttrust (pg_upgrade assumes it) |
Previous Message | Adrian Klaver | 2025-04-09 19:31:38 | Re: FW: [EXTERNAL] Re: Cannot connect local with ttrust (pg_upgrade assumes it) |