| От | Tom Lane |
|---|---|
| Тема | Re: db dump from php |
| Дата | |
| Msg-id | 14944.1357586361@sss.pgh.pa.us обсуждение |
| Ответ на | Re: db dump from php (jody <jody.xha@gmail.com>) |
| Ответы |
Re: db dump from php
|
| Список | pgsql-novice |
jody <jody.xha@gmail.com> writes:
> When i call the php script from the command line, the dump i made.
> When i call it from apache, i get the output
> pg_dump: [archiver (db)] connection to database "magnus2" failed:
> could not connect to server: Permission denied Is the server running
> locally and accepting connections on Unix domain socket
> "/run/postgresql/.s.PGSQL.5432"?
Does the apache user have permissions to access that socket file? What
about the directories containing it?
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера