pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Johnathan Tiamoh <johnathantiamoh@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Need Help On Upgrade
Date: Mon, 10 Jul 2023 12:38:45 -0700
Message-ID: <b7c8a81e-552e-5aa3-0284-1c59c76d78ed@aklaver.com> (raw)
In-Reply-To: <CACoPQdb-goLOnE5Pjna=23872tBVONZ=xNqKD8ynv=44FRcSFA@mail.gmail.com>
References: <CACoPQdb-goLOnE5Pjna=23872tBVONZ=xNqKD8ynv=44FRcSFA@mail.gmail.com>

On 7/10/23 11:15, Johnathan Tiamoh wrote:
> Hello,
> 
> I upgraded from postgresql 9.5 to 14.8. After the upgrade users were not 
> able to connect due to password hash.
> 
> The password encryption was on scram-sha-256. The password hash was on 
> md5. in the pg_hba.conf file the authentication method was md5. I do not 
> know why users could not connect because as per postgresql 
> documentation, that should work.
> 

1) You are going to have to be more specific about where and what the 
settings are or where for both Postgres versions and the *.conf files. So:

Postgres 9.5

    postgresql.conf

       password_encryption  = ?

    pg_hba.conf

        Provide the relevant lines

Postgres 14.8

    postgresql.conf

       password_encryption  = ?

    pg_hba.conf

        Provide the relevant lines

2) Provide the error messages received when trying to connect.


> I have previously done a similar upgrade and did not face similar issues.
> 
> 
> Kind regards
> Johnathan Tiamoh

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (16+ messages)  latest in thread

Message-ID: <b7c8a81e-552e-5aa3-0284-1c59c76d78ed@aklaver.com>
Permalink:  ../b7c8a81e-552e-5aa3-0284-1c59c76d78ed@aklaver.com/
Also on:    postgresql.org/message-id/b7c8a81e-552e-5aa3-0284-1c59c76d78ed@aklaver.com

 · 

reply

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, johnathantiamoh@gmail.com
  Subject: Re: Need Help On Upgrade
  In-Reply-To: <b7c8a81e-552e-5aa3-0284-1c59c76d78ed@aklaver.com>
  References: <CACoPQdb-goLOnE5Pjna=23872tBVONZ=xNqKD8ynv=44FRcSFA@mail.gmail.com> <b7c8a81e-552e-5aa3-0284-1c59c76d78ed@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