Re: configuring postgresql on the browser - Mailing list pgsql-novice

From A.Bhuvaneswaran
Subject Re: configuring postgresql on the browser
Date
Msg-id Pine.LNX.4.44.0304051019190.1044-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to configuring postgresql on the browser  (Don Patou <pknoob@noos.fr>)
Responses Re: configuring postgresql on the browser  (Don Patou <pknoob@noos.fr>)
Re: configuring postgresql on the browser  (Pat <pat@oggtheora.com>)
List pgsql-novice
> I'm trying to get pgsql to work on my browser but I can't connect. It works
> great on the shell and the psql webmin module works great but when it comes
> to phppgadmin or connecting my php application I get a :
>
> "Warning: pg_connect() unable to connect to PostgreSQL server: FATAL: IDENT
> authentication failed for user "joe""

Ident maps other than sameuser are defined in the file pg_ident.conf in
the data directory, which contains lines of the general form:

map-name ident-username database-username

So you might require to have appropriate entries in pg_ident.conf file.

Rather you can also change the authentication method to trust or password
or md5.

regards,
bhuvaneswaran


pgsql-novice by date:

Previous
From: Don Patou
Date:
Subject: configuring postgresql on the browser
Next
From: fred-pg@jolliton.com
Date:
Subject: Bad performance for a 3000 rows table updated permanently