RE: jdbc connectint ot db

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: jdbc connectint ot db
Дата
Msg-id 1B3D5E532D18D311861A00600865478CF1B67C@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Ответ на jdbc connectint ot db  (Katsuyuki Tanaka <katsut@cse.unsw.EDU.AU>)
Список pgsql-interfaces
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
> 
> 


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Katsuyuki Tanaka
Дата:
Сообщение: jdbc connectint ot db
Следующее
От: "Kevin Gilpin"
Дата:
Сообщение: plans & data for JDBC