Skip site navigation (1) Skip section navigation (2)

jdbc connectint ot db

From: Katsuyuki Tanaka <katsut(at)cse(dot)unsw(dot)EDU(dot)AU>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: jdbc connectint ot db
Date: 2000-12-18 13:41:48
Message-ID: Pine.GSO.4.21.0012190033540.18261-100000@mozart.orchestra.cse.unsw.EDU.AU (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-odbcpgsql-patches

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



In response to

Responses

pgsql-odbc by date

Next:From: Tom LaneDate: 2000-12-18 14:54:13
Subject: Re: jdbc connectint ot db
Previous:From: Max KhonDate: 2000-12-16 09:10:04
Subject: Re: Re: more odbc patches

pgsql-patches by date

Next:From: Tom LaneDate: 2000-12-18 14:54:13
Subject: Re: jdbc connectint ot db
Previous:From: Tom LaneDate: 2000-12-18 02:05:34
Subject: Re: --enable-odbc issue for Darwin/Mac OS X

pgsql-interfaces by date

Next:From: Peter MountDate: 2000-12-18 13:46:33
Subject: RE: jdbc connectint ot db
Previous:From: Francis SolomonDate: 2000-12-18 13:39:22
Subject: RE: ODBC handling of bools?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group