From: | Peter Mount <petermount(at)maidstone(dot)gov(dot)uk> |
---|---|
To: | "'Katsuyuki Tanaka'" <katsut(at)cse(dot)unsw(dot)EDU(dot)AU>, pgsql-interfaces(at)postgresql(dot)org |
Subject: | RE: jdbc connectint ot db |
Date: | 2000-12-18 13:46:33 |
Message-ID: | 1B3D5E532D18D311861A00600865478CF1B67C@exchange1.nt.maidstone.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
What version of the backend/driver are you using?
--
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount(at)maidstone(dot)gov(dot)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(at)cse(dot)unsw(dot)EDU(dot)AU]
> Sent: Monday, December 18, 2000 1:42 PM
> To: pgsql-interfaces(at)postgresql(dot)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
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Gilpin | 2000-12-18 14:49:31 | plans & data for JDBC |
Previous Message | Katsuyuki Tanaka | 2000-12-18 13:41:48 | jdbc connectint ot db |