Redrock Postgres Documentation
Home Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

28P01 Invalid Password

FATAL: password authentication failed for user

Connecting to PostgreSQL may trigger an error as shown below:

FATAL:  password authentication failed for user "andym"

Messages like this indicate that you contacted the server, and it is willing to talk to you, but not until you pass the authorization method specified in the pg_hba.conf file. Please check the password you provided, if you forget the password of the database user, contact the administrator to obtain the correct password or change the password.