Re: Connecting PHP-based Application to Postgres-9.0.3 - Mailing list pgsql-php

From Rich Shepard
Subject Re: Connecting PHP-based Application to Postgres-9.0.3
Date
Msg-id alpine.LNX.2.00.1104071014420.397@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Connecting PHP-based Application to Postgres-9.0.3  (Bill Moran <wmoran@potentialtech.com>)
Responses Re: Connecting PHP-based Application to Postgres-9.0.3  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-php
On Thu, 7 Apr 2011, Bill Moran wrote:

> The ADODB error message indicates that you are connecting to localhost via
> TCP/IP. The default for psql when you don't specify a host is to connect
> via unix domain socket. You're not testing the same thing.

Bill

   Oh.

> See if
> psql -h localhost cms
> works.

   Yes, it does:

[rshepard@salmo ~]$ psql -h localhost cms
psql (9.0.3)
Type "help" for help.

cms=#


Rich

pgsql-php by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Next
From: Bill Moran
Date:
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3