samantha cook
samantha cook

Reputation: 11

cannot connect to postgres :psql: error: could not connect to server: FATAL: password authentication failed for user on windows

I installed PostgreSQL on my windows 10 and while running the server in sql shell (psql) (psql: error: could not connect to server: FATAL: password authentication failed for user "samantha")

This error is showing up

enter image description here

Upvotes: 1

Views: 411

Answers (1)

S.Anu
S.Anu

Reputation: 431

Have you tried this?

psql -U postgres

Upvotes: 1

Related Questions