Re: Unable to connect to PostgreSQL server : Could not get socket error status - Mailing list pgsql-general

From John R Pierce
Subject Re: Unable to connect to PostgreSQL server : Could not get socket error status
Date
Msg-id 4EF3732B.2050209@hogranch.com
Whole thread Raw
In response to Unable to connect to PostgreSQL server : Could not get socket error status  (Shankar Palaniappan <shankar.palaniappan@gmail.com>)
List pgsql-general
On 12/22/11 1:31 AM, Shankar Palaniappan wrote:
> I am getting the following error when I try to connect from PHP with
> PostgreSQL server.
> Operating System is HP-UX and I was able to connect through PostgreSQL
> server from psql,

what postgres connection parameters are you passing to the php
connection function?  if you specified host=localhost, or some such,
then on psql use -h localhost to simulate this.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: Hanns Hartman
Date:
Subject: Re: Trying to understand postgres crash
Next
From: Tom Lane
Date:
Subject: Re: Trying to understand postgres crash