Unable to connect postgreSQL 8.4 with java application. - Mailing list pgsql-jdbc

From Neha Mehta
Subject Unable to connect postgreSQL 8.4 with java application.
Date
Msg-id 38DE460E2357D04A9369D5EB8A69E0543AC99634@VSHINMSMBX01.vshodc.lntinfotech.com
Whole thread Raw
Responses Re: Unable to connect postgreSQL 8.4 with java application.  (dmp <danap@ttc-cmc.net>)
List pgsql-jdbc

  Hi,

 

I am a newbie to postgreSQL. I am trying to connect my java application(using jdbc) with postgreSQL 8.4 , but I am getting the following error :

 

 

FATAL: no pg_hba.conf entry for host "172.17.88.52", user "postgres", database "ofbiz-test", SSL off

 

I tried adding the host name in pg_hba.conf file as :

 

host      all       all   172.17.88.52  255.255.255.255  trust

 

but when I restart the server, I get an error…

 

Could you please help to to find out the missing step.

Also, if there are any more instructions to be followed…

 

Is it necessary to use postgreSQL with SSL if my java application uses SSL??

 

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks & Regards,

Neha Mehta

 

 

 

 



This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
Attachment

pgsql-jdbc by date:

Previous
From: Adel Chepkunov
Date:
Subject: bad intro page for developers
Next
From: dmp
Date:
Subject: Re: Unable to connect postgreSQL 8.4 with java application.