On Wed, 2025-01-29 at 14:20 +0000, Stanley Pagenel wrote:
> Hello, can you help me with this error I am receiving when I am trying to do the upgrade from version 16.2 to 17.0
>
> "E:\Program Files\PostgreSQL\17\bin\pg_upgrade.exe" --old-datadir "E:\Program Files\PostgreSQL\16\data" --new-datadir
"E:\ProgramFiles\PostgreSQL\17\data" --old-bindir "E:\Program Files\PostgreSQL\16\bin" --new-bindir "E:\Program
Files\PostgreSQL\17\bin"
>
> la connexion au serveur sur « localhost » (::1), port 50432 a échoué : FATAL: authentification par mot de passe
échouéepour l'utilisateur « postgres »
Your v17 server does not allow password-less local connections.
Either adjust its "pg_hba.conf" to allow such connections or create a password
file for the connection:
https://www.postgresql.org/docs/current/libpq-pgpass.html
Yours,
Laurenz Albe