Re: PHP cann't access to postgres databse

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: donghe(at)caltech(dot)edu
Cc: "Andy Shellam" <andy-lists(at)networkmail(dot)eu>, pgsql-admin(at)postgresql(dot)org
Subject: Re: PHP cann't access to postgres databse
Date: 2009-06-26 22:17:07
Message-ID: 10226.1246054627@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

donghe(at)caltech(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message donghe 2009-06-26 23:06:49 Re: PHP cann't access to postgres databse
Previous Message Tena Sakai 2009-06-26 18:49:27 Re: trouble dropping a table