JDBC conncetion fails, please, advise - Mailing list pgsql-admin

From Leena Puijola
Subject JDBC conncetion fails, please, advise
Date
Msg-id AAFD1BEE99B10D4694C8089BF228A227097650@ex2.emcat.com
Whole thread Raw
Responses Re: JDBC conncetion fails, please, advise
List pgsql-admin

Hi,

Please can you assist.

I am trying to connect to PostgreSQL via JDBC.

Database version is 8.0.1 and java software version 1.4.2.


I have configured the pg_hba.conf file as follows

host  all  all    ip_address/32   trust


ip_address is the ip_address of the host holding the database.


my connection string to postgres is as
'jdbc:postgresql://my_host:5432/my_database'


I'm getting the error message:

Connection error has occurred: org.postgresql.util.PSQLException: FATAL: missing or erroneous pg_hba.conf file



what is the problem? Please, advise.

Regards,
Leena

pgsql-admin by date:

Previous
From: "weng yan"
Date:
Subject: An exception when using UTF8 encoding
Next
From: Stephan Szabo
Date:
Subject: Re: OT: using column in an interval