From: | Amit_Wadhwa(at)Dell(dot)com |
---|---|
To: | rcastagnoli(at)katamail(dot)com, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Authentication problems |
Date: | 2003-06-10 05:29:45 |
Message-ID: | D84C5C69F2723B43BD7AAFA63D4012BA7BF5D2@blrx2kmbgl101.blr.amer.dell.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)katamail(dot)com [mailto:rcastagnoli(at)katamail(dot)com]
Sent: Monday, June 09, 2003 6:33 PM
To: pgsql-jdbc(at)postgresql(dot)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?
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2003-06-10 09:58:47 | Re: Retrieving the server time and date -- java?? |
Previous Message | Dave Cramer | 2003-06-10 02:59:38 | Re: WARNING: ROLLBACK: no transaction in progress |