Thread: RE: jdbc connectint ot db

RE: jdbc connectint ot db

From
Peter Mount
Date:
What version of the backend/driver are you using?



-- 
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount@maidstone.gov.uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council


> -----Original Message-----
> From: Katsuyuki Tanaka [mailto:katsut@cse.unsw.EDU.AU]
> Sent: Monday, December 18, 2000 1:42 PM
> To: pgsql-interfaces@postgresql.org
> Subject: [INTERFACES] jdbc connectint ot db
> 
> 
> 
> 
> I'm having trouble with connecting to db. I created user and 
> password by
> creatuser and pg_passwd, and have line in my pg_hba.conf
> 
> #####
> local        all                                           
> password passwd
> host         all         127.0.0.1     255.255.255.255     
> password passwd
> #####
> 
> passwd is file create to have password.
> now when i try to connect to db by 
> 
> #####
> DriverManager.getConnection("jdbc:postgresql:test",user,pass);
> #####
> 
> I get the following error messg,
> 
> #####
> The backend has broken the connection. Possibly the action you have
> attempted has caused it to close.
> #####
> 
> i don't know what is causing to get this error anyone have any idea?
> 
> katsu
> 
>