Re: db dump from php
От | Andreas Kretschmer |
---|---|
Тема | Re: db dump from php |
Дата | |
Msg-id | 20130107190924.GA6003@tux обсуждение исходный текст |
Ответ на | Re: db dump from php (jody <jody.xha@gmail.com>) |
Список | pgsql-novice |
jody <jody.xha@gmail.com> wrote: > Hi > I have now changed all entries in pg_hba.conf to 'trust' > > I have modified the call as suggested by Christian. > > 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"? check if the file (socket) exists. Try to connect via tcp/ip using parameter -h <hostname or ip> Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknown) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
В списке pgsql-novice по дате отправления: