pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Philipp Ottlinger <ottlinger@computer-systeme.de>
To: pgsql-php@postgresql.org
Subject: Re: Accessing Postgres db from apache using PHP
Date: Mon, 28 Jul 2003 10:41:49 +0200
Message-ID: <3F24E1CD.3050109@computer-systeme.de> (raw)
In-Reply-To: <000501c354c4$33708080$0301a8c0@Mesa.com>
References: <000501c354c4$33708080$0301a8c0@Mesa.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

bruce wrote:
<snip>

>> 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
>>

<snip>
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-----




view thread (13+ messages)  latest in thread

Message-ID: <3F24E1CD.3050109@computer-systeme.de>
Permalink:  ../3F24E1CD.3050109@computer-systeme.de/
Also on:    postgresql.org/message-id/3F24E1CD.3050109@computer-systeme.de

 · 

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: ottlinger@computer-systeme.de
  Subject: Re: Accessing Postgres db from apache using PHP
  In-Reply-To: <3F24E1CD.3050109@computer-systeme.de>
  References: <000501c354c4$33708080$0301a8c0@Mesa.com> <3F24E1CD.3050109@computer-systeme.de>

* 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