JDBC conncetion fails, please, advise

From: "Leena Puijola" <leena(dot)puijola(at)endero(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: JDBC conncetion fails, please, advise
Date: 2006-03-24 12:53:41
Message-ID: AAFD1BEE99B10D4694C8089BF228A227097650@ex2.emcat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-03-24 15:02:01 Re: Bloated pg_shdepend_depender_index
Previous Message sandhya 2006-03-24 12:22:30 reg:libpq.lib