While connecting to the pgadmin
database postgres with correct password, I'm getting the following error:
'Error connecting to the server:FATAL password authentication failed with user 'postgres'.
After changing the method to 'trust'
instead of 'md5'
in hba
config file, and then typed:
ALTER USER POSTGRES WITH PASSWORD 'newpassword'
after again changing the methods as md5 then tried connecting to database
Howerver the password changed successfully (I checked in encrypt mode and it was fine) but getting the same issue:
'Error connecting to the server:FATAL password authentication failed with user 'postgres'.
Kindly suggest me if there are any other solution for this issue.