-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Andre Lopes
Sent: Friday, December 02, 2011 6:14 PM
To: postgresql Forums
Subject: [GENERAL] Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
With the method above I have no problems in enter "psql" but when I try to connect with the user created with these
methodto a webapp I got an error:
[code]
Exception Value:
FATAL: Ident authentication failed for user "mypoatgreuser"
[/code]
There is more permissions that I must to give to the user "mypoatgreuser"? What could be wrong here?
-----------------------------------------------------
Andre,
The information you have supplied is inadequate but I am concerned that you may just have a simple typo in your webapp
configuration:
"mypoatgreuser" => "mypostgreuser"; note the "a" should be an "s"
Also, it is considered proper for the shortened form of PostgreSQL to include the trailing "s" (Postgres) as opposed to
simply"Postgre"; might as well get used to that before you go naming everything you come across "postgre" :)
David J.