Forums

Problem with password, Postgres

I try send command in bash to connect postgres psql -h Adamaskceo-239.postgres.eu.pythonanywhere-services.com -d Pixelcoin --port=10239, after this i get: password for user Adamaskceo. I enter current password, but i get this message psql: error: connection to server at "Adamaskceo-239.postgres.eu.pythonanywhere-services.com" (10.0.0.159 ), port 10239 failed: FATAL: password authentication failed for user "Adamaskceo" connection to server at "Adamaskceo-239.postgres.eu.pythonanywhere-services.com" (10.0.0.159), port 10239 failed: FATAL: password authentication failed for user "Adamaskceo". Please, help me to solve this problem

For Postgres, the password that you set on the "Postgres" tab of the "Databases" page is the one for a user called super, so that's the username you should use when connecting to it, by adding this to your command:

-u super