X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id CDAC3D1D712 for ; Mon, 28 Jul 2003 08:41:46 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 79485-02 for ; Mon, 28 Jul 2003 05:40:52 -0300 (ADT) Received: from mail.computer-systeme.de (unknown [62.145.19.133]) by svr1.postgresql.org (Postfix) with ESMTP id 9914FD1D716 for ; Mon, 28 Jul 2003 05:41:44 -0300 (ADT) Received: from computer-systeme.de (pD95172AB.dip.t-dialin.net [217.81.114.171]) by mail.computer-systeme.de (Postfix) with ESMTP id F076BEB40 for ; Mon, 28 Jul 2003 10:41:45 +0200 (CEST) Message-ID: <3F24E1CD.3050109@computer-systeme.de> Date: Mon, 28 Jul 2003 10:41:49 +0200 From: Philipp Ottlinger Organization: Computer & Systeme GmbH, Berlin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en, de, ja, zh MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: Accessing Postgres db from apache using PHP References: <000501c354c4$33708080$0301a8c0@Mesa.com> In-Reply-To: <000501c354c4$33708080$0301a8c0@Mesa.com> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/52 X-Sequence-Number: 2164 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, bruce wrote: >> host gforge 127.0.0.1 255.255.255.255 trust >> >> i've logged into the server as gforge, and tried to do the psql command >> -> psql -h localhost gforge >> >> psql: FATAL 1: No pg_hba.conf entry for host 127.0.0.1, user gforge, >> database gforge >> try: psql -h %your_pcs_name% -U gforge (I've had some trouble with connecting to localhost) >> >> i've tried a number different settings in the pg_hba.conf file... with no >> luck... Please try for the sake of testing: host all 0.0.0.0 0.0.0.0 trust local all trust This works fine for me! Yours, Phil - -- Philipp Ottlinger cS Computer & Systeme GmbH Menckenstr. 29 12169 Berlin Tel. +49-30-79748317 Fax +49-30-7226748 E-Mail:ottlinger@computer-systeme.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE/JOHMQogH4WkR2CwRAtdCAJ9zSpBMAJ4cY8t81NlAYfi20x9A4ACgusV+ O6aMAVbje5O1vKfeBn43bN8= =Xw6F -----END PGP SIGNATURE-----