X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 376E19DC99F for ; Fri, 24 Mar 2006 08:54:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01484-05 for ; Fri, 24 Mar 2006 08:54:26 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 104059DC94D for ; Fri, 24 Mar 2006 08:54:21 -0400 (AST) Received: from mail.donator.se (mail.donator.se [217.16.195.158]) by svr4.postgresql.org (Postfix) with ESMTP id 26CDA5AF173 for ; Fri, 24 Mar 2006 12:54:24 +0000 (GMT) Received: from ex2.emcat.com ([10.99.195.248]) by mail.donator.se (mail.donator.se) (MDaemon.PRO.v8.1.4.R) with ESMTP id 12-md50000012431.msg for ; Fri, 24 Mar 2006 13:54:13 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C64F42.0AF24AB8" Subject: JDBC conncetion fails, please, advise Date: Fri, 24 Mar 2006 13:53:41 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JDBC conncetion fails, please, advise Thread-Index: AcZPQfnkyVTmA+5hSSGqMutANDWOBg== From: "Leena Puijola" To: X-Spam-Processed: mail.donator.se, Fri, 24 Mar 2006 13:54:13 +0100 (not processed: spam filter disabled) X-MDRemoteIP: 10.99.195.248 X-Return-Path: leena.puijola@endero.com X-MDaemon-Deliver-To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200603/247 X-Sequence-Number: 21004 This is a multi-part message in MIME format. ------_=_NextPart_001_01C64F42.0AF24AB8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 '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=20 ------_=_NextPart_001_01C64F42.0AF24AB8 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable JDBC conncetion fails, please, advise

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

------_=_NextPart_001_01C64F42.0AF24AB8--