Re: Authentication problems - Mailing list pgsql-jdbc

From Amit_Wadhwa@Dell.com
Subject Re: Authentication problems
Date
Msg-id D84C5C69F2723B43BD7AAFA63D4012BA7BF5D2@blrx2kmbgl101.blr.amer.dell.com
Whole thread Raw
In response to Authentication problems  ("rcastagnoli@katamail.com" <rcastagnoli@katamail.com>)
List pgsql-jdbc
hi
you have to configure your database access permissions before trying to
access it from 127.0.0.1
regards
amit
-----Original Message-----
From: rcastagnoli@katamail.com [mailto:rcastagnoli@katamail.com]
Sent: Monday, June 09, 2003 6:33 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] Authentication problems


Dear friends,

when I try to access Postgresql using JDBC driver I get the following
exception:

Exception in thread "main" A connection error has occurred: FATAL: No
pg_hba.conf entry for host 127.0.0.1, user postgres, database <db_name>

With psql I connect to database <db_name> without problem. I look to
Postgresql documentation but I colud not solve the problem.

Could you please help me?
Regards

Riccardo

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


pgsql-jdbc by date:

Previous
From: Fernando Nasser
Date:
Subject: Re: Problem with bytea
Next
From: Carlos
Date:
Subject: Retrieving the server time and date -- java??