Re: db dump from php

Поиск
Список
Период
Сортировка
От 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  (jody <jody.xha@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: db dump from php
Следующее
От: jody
Дата:
Сообщение: Re: db dump from php