| От | Richard Huxton |
|---|---|
| Тема | Re: pg_restore - authentication failed? |
| Дата | |
| Msg-id | 43204D53.6040904@archonet.com обсуждение исходный текст |
| Ответ на | pg_restore - authentication failed? (Zlatko Matić <zlatko.matic1@sb.t-com.hr>) |
| Список | pgsql-general |
Zlatko Matić wrote: > If I use PgAdmin it works, but if I copy the command to .bat file > authentication fails although I enter correct password. > The .bat script is the following: > and the error is: > pg_restore: [archiver (db)] connection to database "MYDATABASE" failed: > FATAL: password authentication failed for user "postgres" > > I also tried to pass password by pgpass.conf file, but without result. > If I use PgAdmin, it works.... > > What could be the reason ? Is this a bug ? Unlikely. Is pgadmin connecting to localhost on port 5432? I'm thinking there might be something in your pg_hba.conf -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера