Re: PostgreSQL from a newcomers perspective

Поиск
Список
Период
Сортировка
От B. van Ouwerkerk
Тема Re: PostgreSQL from a newcomers perspective
Дата
Msg-id 6.0.0.22.0.20031201194331.052b8d50@pop.atz.nl
обсуждение исходный текст
Ответ на Re: PostgreSQL from a newcomers perspective  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-general
> >          Is the server running locally and accepting
> >          connections on Unix domain socket "/tmp/5432"?
> > in /path_to/filename.php on line 61
>
>That socket path is wrong.  It should be /tmp/.s.PGSQL.5432.  How is PHP
>getting it?

No idea. The socket path seems to be correct.. at least.. it looks to me
like PHP is looking at the right place.. As soon as I start PG with the -i
option PHP connects just fine.. just like when I modify postgresql.conf..

When I run with the -i option I'm getting something listening at port 5432
but it doesn't appear when running without -i.. tested it with netstat..

I was testing with an app of which I know it supports PG.. Will see if how
it flies if I throw some code together myself. This will be interesting..


B.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Undropping a column?
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: PostgreSQL Advocacy, Thoughts and Comments