Re: Accessing Postgres db from apache using PHP

From: Philipp Ottlinger <ottlinger(at)computer-systeme(dot)de>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Accessing Postgres db from apache using PHP
Date: 2003-07-28 08:41:49
Message-ID: 3F24E1CD.3050109@computer-systeme.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-php

-----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(at)computer-systeme(dot)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-----

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Cornelia Boenigk 2003-07-28 10:59:28 Re: [PHP] Accessing Postgres db from apache using PHP
Previous Message Jean-Christian Imbeault 2003-07-28 07:20:59 Re: Accessing Postgres db from apache using PHP

Browse pgsql-php by date

  From Date Subject
Next Message Andrei Verovski (aka MacGuru) 2003-07-28 09:06:01 UPDATE sql question
Previous Message Jean-Christian Imbeault 2003-07-28 07:20:59 Re: Accessing Postgres db from apache using PHP