RE: pg_dump Error in Windows

Поиск
Список
Период
Сортировка
От
Тема RE: pg_dump Error in Windows
Дата
Msg-id 2A91BEF8171A5349931391E0C721CC5326FAF20F@CPEMS-KPN301.KPNCNL.LOCAL
обсуждение исходный текст
Ответ на pg_dump Error in Windows  (<soumik.bhattacharjee@kpn.com>)
Список 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@lists.postgresql.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

 

 

В списке pgsql-admin по дате отправления:

Предыдущее
От:
Дата:
Сообщение: pg_dump Error in Windows
Следующее
От: AYahorau@ibagroup.eu
Дата:
Сообщение: A question regarding postgresql log messages,