From: | "B(dot) van Ouwerkerk" <bvo(at)atz(dot)nl> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: PostgreSQL from a newcomers perspective |
Date: | 2003-12-01 19:11:35 |
Message-ID: | 6.0.0.22.0.20031201194331.052b8d50@pop.atz.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2003-12-01 19:11:47 | Re: Undropping a column? |
Previous Message | Bruce Momjian | 2003-12-01 19:10:14 | Re: export FUNC_MAX_ARGS as a read-only GUC variable |