Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group