From: | Raymond O'Donnell <rod(at)iol(dot)ie> |
---|---|
To: | Gustavo Amarilla Santacruz <gusamasan(at)gmail(dot)com> |
Cc: | Chris <dmagick(at)gmail(dot)com>, Bill Moran <wmoran(at)potentialtech(dot)com>, pgsql-php(at)postgresql(dot)org |
Subject: | Re: Undefined function pg_connect() |
Date: | 2010-01-30 12:53:11 |
Message-ID: | 4B642BB7.80907@iol.ie |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
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
rod(at)iol(dot)ie
From | Date | Subject | |
---|---|---|---|
Next Message | Chris | 2010-01-31 22:21:53 | Re: Undefined function pg_connect() |
Previous Message | Gustavo Amarilla Santacruz | 2010-01-30 12:33:24 | Re: Undefined function pg_connect() |