| From: | donghe(at)caltech(dot)edu |
|---|---|
| To: | "Andy Shellam" <andy-lists(at)networkmail(dot)eu> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: PHP cann't access to postgres databse |
| Date: | 2009-06-26 17:37:27 |
| Message-ID: | 2283.131.215.15.78.1246037847.squirrel@webmail.caltech.edu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Scott Marlowe | 2009-06-26 17:56:19 | Re: PHP cann't access to postgres databse |
| Previous Message | Andy Shellam | 2009-06-26 17:27:56 | Re: PHP cann't access to postgres databse |