-2

I got the following error in my windows PC when I tried to connect server in postgreSQL

An error has occured:
Error connecting to the server: FATAL: password authentication failed for user "postgres"
a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843
Sivaprakash
  • 445
  • 1
  • 8
  • 21

2 Answers2

2

Perhaps you should check if the username is correct.

0

Did you set the proper settings in pg_hba.conf?

See https://help.ubuntu.com/10.04/serverguide/C/postgresql.html how to do it.