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

From donghe@caltech.edu
Subject Re: PHP cann't access to postgres databse
Date
Msg-id 2283.131.215.15.78.1246037847.squirrel@webmail.caltech.edu
Whole thread Raw
In response to Re: PHP cann't access to postgres databse  (Andy Shellam <andy-lists@networkmail.eu>)
Responses Re: PHP cann't access to postgres databse  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
i use fedora 11

>
>> 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.
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>



pgsql-admin by date:

Previous
From: Andy Shellam
Date:
Subject: Re: PHP cann't access to postgres databse
Next
From: Scott Marlowe
Date:
Subject: Re: PHP cann't access to postgres databse