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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces pgsql-odbc pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Mount | 2000-12-18 13:46:33 | RE: jdbc connectint ot db |
Previous Message | Francis Solomon | 2000-12-18 13:39:22 | RE: ODBC handling of bools? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-12-18 14:54:13 | Re: jdbc connectint ot db |
Previous Message | Max Khon | 2000-12-16 09:10:04 | Re: Re: more odbc patches |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-12-18 14:54:13 | Re: jdbc connectint ot db |
Previous Message | Tom Lane | 2000-12-18 02:05:34 | Re: --enable-odbc issue for Darwin/Mac OS X |