From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Pete O'Such <posuch@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: No psql md5 auth, psql 14.1 to PG 11
Date: Mon, 18 Apr 2022 13:30:17 -0700
Message-ID: <f5251a58-9185-0384-d30a-1426dc7dfc85@aklaver.com> (raw)
In-Reply-To: <CAEdngj9QFjsTpdk_P7fQHvJCVfw_04iRCtg-vvkQTH52_ic70w@mail.gmail.com>
References: <CAEdngj9QFjsTpdk_P7fQHvJCVfw_04iRCtg-vvkQTH52_ic70w@mail.gmail.com>
On 4/18/22 13:12, Pete O'Such wrote:
> I'm unable to authenticate with psql to a PG 11 database on server A
> from server B which has PG 14.1 installed. So it's psql 14.1 not
> authenticating to PG 11. Other clients can and do authenticate to the
> PG 11 database, it only seems to fail with the psql 14.1 client.
>
> The PG 11 server uses md5. So is the PG 14.1, but I didn't expect that
> to matter for a straight psql connection plus interactive password entry.
My first thought was that is was a md5/scram-sha-256 issue but I'm not
sure how as both versions support both password types.
So:
1) How where the Postgres instances installed on both machines?
2) What is the exact psql command you are using?
3) What is the complete error message?
> Thanks,
> Pete O'Such
--
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, posuch@gmail.com
Subject: Re: No psql md5 auth, psql 14.1 to PG 11
In-Reply-To: <f5251a58-9185-0384-d30a-1426dc7dfc85@aklaver.com>
References: <CAEdngj9QFjsTpdk_P7fQHvJCVfw_04iRCtg-vvkQTH52_ic70w@mail.gmail.com> <f5251a58-9185-0384-d30a-1426dc7dfc85@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