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

From Tom Lane
Subject Re: PHP cann't access to postgres databse
Date
Msg-id 10226.1246054627@sss.pgh.pa.us
Whole thread Raw
In response to Re: PHP cann't access to postgres databse  (donghe@caltech.edu)
Responses Re: PHP cann't access to postgres databse
List pgsql-admin
donghe@caltech.edu writes:
>>> 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.

> i use fedora 11

Then it's SELinux.  If it works after "setenforce permissive", it's
definitely selinux.  File a bug against selinux-policy.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Tena Sakai"
Date:
Subject: Re: trouble dropping a table
Next
From: donghe@caltech.edu
Date:
Subject: Re: PHP cann't access to postgres databse