0

Trying to run PostGraphile locally, but whenever I run psql "postgres:///", it queries me for a password for a user, I enter the password, and it says it's wrong, though I know I entered it correctly.

psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "username"

But when I run: ALTER USER 'username' PASSWORD 'password'

It doesn't return any errors. But then when I try to run psql "postgres:///" again, and when it queries me for the password, it still doesn't work even with the reset password.

plutomonk
  • 1
  • 2
  • "It's wrong" is not something PostgreSQL would say. Please quote the entire error message, including looking for the message in the db server's log file in case it differs from what you get in the client. – jjanes Feb 07 '23 at 20:46

0 Answers0