pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raymond O'Donnell <rod@iol.ie>
To: Gustavo Amarilla Santacruz <gusamasan@gmail.com>
Cc: Chris <dmagick@gmail.com>
Cc: Bill Moran <wmoran@potentialtech.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Undefined function pg_connect()
Date: Sat, 30 Jan 2010 12:53:11 +0000
Message-ID: <4B642BB7.80907@iol.ie> (raw)
In-Reply-To: <e4ea2d811001300433l7d466afdt8fa40bf4bc5fd0e8@mail.gmail.com>
References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com>
	<4B60DC23.9020404@gmail.com>
	<e4ea2d811001280535j5d182a83s819a2b0590867dd5@mail.gmail.com>
	<20100128084415.4d98823a.wmoran@potentialtech.com>
	<e4ea2d811001281540x4e9f2eabp9557ea36e8f0bcbf@mail.gmail.com>
	<4B62236F.1090200@gmail.com>
	<e4ea2d811001291707l62c3c8ccs4a74b9d95a43bc8b@mail.gmail.com>
	<e4ea2d811001300433l7d466afdt8fa40bf4bc5fd0e8@mail.gmail.com>

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@iol.ie



view thread (15+ messages)  latest in thread

Message-ID: <4B642BB7.80907@iol.ie>
Permalink:  ../4B642BB7.80907@iol.ie/
Also on:    postgresql.org/message-id/4B642BB7.80907@iol.ie

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: rod@iol.ie, gusamasan@gmail.com, dmagick@gmail.com, wmoran@potentialtech.com
  Subject: Re: Undefined function pg_connect()
  In-Reply-To: <4B642BB7.80907@iol.ie>
  References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com> <4B60DC23.9020404@gmail.com> <e4ea2d811001280535j5d182a83s819a2b0590867dd5@mail.gmail.com> <20100128084415.4d98823a.wmoran@potentialtech.com> <e4ea2d811001281540x4e9f2eabp9557ea36e8f0bcbf@mail.gmail.com> <4B62236F.1090200@gmail.com> <e4ea2d811001291707l62c3c8ccs4a74b9d95a43bc8b@mail.gmail.com> <e4ea2d811001300433l7d466afdt8fa40bf4bc5fd0e8@mail.gmail.com> <4B642BB7.80907@iol.ie>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox