Re: Unable to connect to PostgreSQL server : Could not get socket error status

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Unable to connect to PostgreSQL server : Could not get socket error status
Date: 2011-12-22 18:12:59
Message-ID: 4EF3732B.2050209@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-12-22 18:14:56 Re: Trying to understand postgres crash
Previous Message Hanns Hartman 2011-12-22 17:57:57 Re: Trying to understand postgres crash