Re: Accessing Postgres db from apache using PHP - Mailing list pgsql-php

From Philipp Ottlinger
Subject Re: Accessing Postgres db from apache using PHP
Date
Msg-id 3F24E1CD.3050109@computer-systeme.de
Whole thread Raw
In response to Re: Accessing Postgres db from apache using PHP  ("bruce" <bedouglas@earthlink.net>)
List 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@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-----


pgsql-php by date:

Previous
From: "bruce"
Date:
Subject: Re: Accessing Postgres db from apache using PHP
Next
From: Andrei Verovski (aka MacGuru)
Date:
Subject: UPDATE sql question