Re: PostgreSQL server: authentication method 10 not supported

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ram Pratap Maurya <ram(dot)maurya(at)lavainternational(dot)in>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL server: authentication method 10 not supported
Date: 2021-12-06 18:55:50
Message-ID: 3352398.1638816950@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ram Pratap Maurya <ram(dot)maurya(at)lavainternational(dot)in> writes:
> "PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: authentication method 10 not supported in
> /var/www/html/myLavaUat/app/webroot/myLavaCronDirect/cron/mylava_stg_arch.php on line 9 "

You need to update your client's libpq to a version that knows about
SCRAM authentication, or else not use a SCRAM-encrypted password.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message SATYANARAYANA NARLAPURAM 2021-12-06 19:05:31 Re: Do we need pre-allocate WAL files during end-of-recovery checkpoint?
Previous Message Robert Haas 2021-12-06 18:28:28 Re: Transparent column encryption