Re: Undefined function pg_connect()

Raymond O'Donnell <[email protected]> Sat, 30 Jan 2010 12:53:11 +0000
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
On 30/01/2010 12:33, Gustavo Amarilla Santacruz wrote:
> "Warning: pg_connect(): Unable to connect to PostgreSQL server: could
> not connect to server: Permission denied Is the server running on host
> "localhost" and accepting TCP/IP connections on port 5432? could not
> connect to server: Permission denied Is the server running on host
> "localhost" and accepting TCP/IP connections on port 5432?"
> 
> 
> 
> 
> The pg_hba.conf file containt:
> 



Sounds like you're getting somewhere - the PG extension is being found now.

The error above is nothing to do with pg_hba.conf; if the connection was
being denied because of a rule there, the error would say so explicitly.
Rather, it's a network problem of some kind. Is the server actually
running? Is there a firewall preventing access?

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
[email protected]

-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php