Re: PHP cann't access to postgres databse - Mailing list pgsql-admin

From Andy Shellam
Subject Re: PHP cann't access to postgres databse
Date
Msg-id 4A45051C.5040304@networkmail.eu
Whole thread Raw
In response to Re: PHP cann't access to postgres databse  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: PHP cann't access to postgres databse  (donghe@caltech.edu)
List pgsql-admin
> If it was trying to get that sort of connection, rather than TCP/IP,
> the message would be different.  Something like:
>
> # could not connect to server: No such file or directory
> #   Is the server running locally and accepting
> #   connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
>

Ah yeah, good point.
>
> You do have a point on the "Permission denied", though.  If the
> problem was where I was suggesting, it would probably say "Connection
> refused".  Perhaps some OS security restriction is in play here.
>

SELinux?  I've never used it personally but have heard it can throw some
errors you don't normally expect.

pgsql-admin by date:

Previous
From: Carol Walter
Date:
Subject: Re: PHP cann't access to postgres databse
Next
From: donghe@caltech.edu
Date:
Subject: Re: PHP cann't access to postgres databse