From: Leena Puijola <leena.puijola@endero.com>
To: pgsql-admin@postgresql.org
Subject: JDBC conncetion fails, please, advise
Date: Fri, 24 Mar 2006 13:53:41 +0100
Message-ID: <AAFD1BEE99B10D4694C8089BF228A227097650@ex2.emcat.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: leena.puijola@endero.com
Subject: Re: JDBC conncetion fails, please, advise
In-Reply-To: <AAFD1BEE99B10D4694C8089BF228A227097650@ex2.emcat.com>
References: <AAFD1BEE99B10D4694C8089BF228A227097650@ex2.emcat.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox