Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id DE4AA9FB47F for ; Mon, 12 Mar 2007 01:25:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 76885-07 for ; Mon, 12 Mar 2007 01:25:19 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by postgresql.org (Postfix) with ESMTP id 42FED9FB44F for ; Mon, 12 Mar 2007 01:25:20 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id k3so1980867ugf for ; Sun, 11 Mar 2007 21:25:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=VJ/RZTiZn42pLFeWM9+kYq15VM3h2uPOFGjVExmx6X7eb3DPRV+J32fqwnFQ1Suhxc9ds2ECoFSKufobMxGSXzX1/FCaviYvnyWhT5FG0uAVfEYIMGiqk7hbDb8Z/nnPfh3e3IMu2JAhVbT0f9SFfKSxjRNRA5/wiy7elL3k+qg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=r6jqzXC+eGratlEI+Ct1iWD3/CvWFC+XZVzBsdsMOKpfhc/l+yh73CziRm1hRtWHsApeZNRhYkDxJeZD0ct+rwigA+tEe/M4i+uYZ2pGC41WfOJvzPJ8lKF+B+ZcVtS4HDbo7AZqokoAhVRyCij8/iXR8x2DuiAUIj9GAwLF7j0= Received: by 10.115.76.1 with SMTP id d1mr1095673wal.1173673517862; Sun, 11 Mar 2007 21:25:17 -0700 (PDT) Received: by 10.114.152.10 with HTTP; Sun, 11 Mar 2007 21:25:17 -0700 (PDT) Message-ID: Date: Mon, 12 Mar 2007 12:25:17 +0800 From: "Kitty Yuen" To: pgsql-php@postgresql.org Subject: Problems in connecting to postgreSQL using PHP MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28883_5127022.1173673517836" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/35 X-Sequence-Number: 3747 ------=_Part_28883_5127022.1173673517836 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_28883_5127022.1173673517836 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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 
------=_Part_28883_5127022.1173673517836--