pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kitty Yuen <kitty3a@gmail.com>
To: pgsql-php@postgresql.org
Subject: Problems in connecting to postgreSQL using PHP
Date: Mon, 12 Mar 2007 12:25:17 +0800
Message-ID: <b3efba5a0703112125s23b7eac1u60639be8ac06def4@mail.gmail.com> (raw)

Hi,

I am trying to connect my postgreSQL with PHP in localhost. I have start up
the server with -i flag (i.e. postmaster -D /usr/local/pgsql/data -i &) and
edit the pg_hba.conf. However, I still cannot connect with the database.
But, when I tried to remote access the database through SSH and I can
connect with it.

Would you please offer any suggestions or solutions?

Many thanks,
Kitty3A

view thread (10+ messages)  latest in thread

Message-ID: <b3efba5a0703112125s23b7eac1u60639be8ac06def4@mail.gmail.com>
Permalink:  ../b3efba5a0703112125s23b7eac1u60639be8ac06def4@mail.gmail.com/
Also on:    postgresql.org/message-id/b3efba5a0703112125s23b7eac1u60639be8ac06def4@mail.gmail.com

 · 

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: kitty3a@gmail.com
  Subject: Re: Problems in connecting to postgreSQL using PHP
  In-Reply-To: <b3efba5a0703112125s23b7eac1u60639be8ac06def4@mail.gmail.com>
  References: <b3efba5a0703112125s23b7eac1u60639be8ac06def4@mail.gmail.com>

* 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