RE: pg_dump Error in Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
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

 

 


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux