From: | Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp> |
---|---|
To: | pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Newbie: connecting from windows to Linux: how-to? |
Date: | 2002-10-09 09:46:56 |
Message-ID: | 3DA3FB10.4030900@mega-bucks.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
SHEVLAND, Joe wrote:
>You might want to look at a little primer I whipped up a while ago,
but >it should be relevant still:
>http://www.j-elite.com/pgprimer
Thanks! It was very useful. I know have things sort of running ... I
just can't connect.
I think the problem is in the connect string. I have this, is it
syntactically correct?
c = DriverManager.getConnection("jdbc:postgresql://192.168.254.14:5432/JC",
"postgres", "");
I am assuming the password is null since I don't remember setting one.
Also the following connect string works (locally) in PHP, without a
password:
$conn = pg_connect("dbname=JC user=postgres");
Thanks for the help!
Jc
PS I am receiving all the replies I send to the list as private emails.
But I don't receive the any list emails ... is everyone sending me
private emails or did I not register properly with the list?
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-Christian Imbeault | 2002-10-09 10:11:17 | Re: Newbie: connecting from windows to Linux: how-to? |
Previous Message | Jean-Christian Imbeault | 2002-10-09 08:36:59 | Re: Newbie: connecting from windows to Linux: how-to? |