From: | <soumik(dot)bhattacharjee(at)kpn(dot)com> |
---|---|
To: | <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | RE: pg_dump Error in Windows |
Date: | 2019-03-21 10:50:15 |
Message-ID: | 2A91BEF8171A5349931391E0C721CC5326FAF20F@CPEMS-KPN301.KPNCNL.LOCAL |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Same error with pg_dumpall it does not accept the postgres default password
C:\Program Files\PostgreSQL\9.6\bin>pg_dumpall > postgres
Password:
pg_dumpall: could not connect to database "template1": FATAL: password authentication failed for user " testusr"
From: Bhattacharjee, Soumik
Sent: Thursday, March 21, 2019 11:16 AM
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: pg_dump Error in Windows
Hello All,
When I am trying to take backup using pg_dump.exe , it's asking for password, when I provide the default password of "postgres" it never accepts and throws below error-
pg_dump: [archiver (db)] connection to database "test_database" failed: FATAL: Ident authentication failed for user "testusr"
Is there any changes I need to do in pg_hba.conf file?
Please suggest a solution.
Thanks
Soumik
From | Date | Subject | |
---|---|---|---|
Next Message | AYahorau | 2019-03-21 11:02:50 | A question regarding postgresql log messages, |
Previous Message | soumik.bhattacharjee | 2019-03-21 10:15:45 | pg_dump Error in Windows |