Re: "Failed to connect to Postgres database" - Mailing list pgsql-general

From Daniel Verite
Subject Re: "Failed to connect to Postgres database"
Date
Msg-id 5860c69b-8b16-43b0-ba90-0a0cc7598520@manitou-mail.org
Whole thread Raw
In response to Re: "Failed to connect to Postgres database"  (Marco Ippolito <ippolito.marco@gmail.com>)
Responses Re: "Failed to connect to Postgres database"
List pgsql-general
    Marco Ippolito wrote:

> (base) postgres@pc:~$ psql --cluster 11/fabmnet -h localhost
> Password for user postgres:
> psql: FATAL:  password authentication failed for user "postgres"
> FATAL:  password authentication failed for user "postgres"

Did you set a password for the postgres user in that newly created
cluster?
If not, try psql --cluster 11/fabmnet (without -h localhost),
it should connect you without a password,
then set a password with the \password command in psql,
then try again with -h localhost.


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite



pgsql-general by date:

Previous
From: Luca Ferrari
Date:
Subject: Re: pgq is one of the most underrated pg related stuff
Next
From: Olivier Gautherot
Date:
Subject: Re: Monitor Postgres database status on Docker