authentication failed - Mailing list pgsql-general

From roboccc@t-online.de (Bogdan Chytrek)
Subject authentication failed
Date
Msg-id 010c01c3c559$c455bba0$95e0a8c0@home.chytrek.de
Whole thread Raw
Responses Re: authentication failed
Re: authentication failed
List pgsql-general
Why happens this?

Warning: pg_connect() unable to connect to PostgreSQL server: FATAL:
IDENT authentication failed for user "bchytrek" in
/var/www/html/physio2/test.php on line 19

The php-statement is :

$conn = pg_connect("dbname=testdb  user=bchytrek");

the owner of that testdb is bchytrek and he does not have a password, he
is in the users-list as superuser, an may cerate dbs.

So why does the authentication fail?

Helpless

Bogdan


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pqReadData() -- read() failed: errno=32
Next
From: "D. Dante Lorenso"
Date:
Subject: Re: authentication failed