pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Phil McGlauchlin <pmcglauchlin@gr.com>
To: pgsql-interfaces@postgresql.org
Subject: Where can I get documentation on the using the JDBC interface?
Date: Mon, 19 Oct 1998 11:44:40 -0500
Message-ID: <002a01bdfb7f$c4210a80$df35d7ce@pmcglauchlin.gr.com> (raw)

Hi,

I am trying to get the jdbc interface to work but I keep getting a
SQLException "connection refused".

I am using a simple Java application that does a "select* from member" on a
table named "member" in the database "Membership". I am passing the
following url: "jdbc:postgresql:membership?<username>&<passwd>"

Is this a userid/password problem? I first tried the url without a user,
then with "postgres" and no password, and finally with a new user I created.
I used the createuser command to create the user but I couldn't figure out
how to set the password.

I have spent a while searching the web site and the Postgresql documentation
for answers but I can't find much documentation on the jdbc driver. Where do
I go to get it?

Any help is greatly appreciated.

Thanks, Phil.

--
Phil McGlauchlin, SCJP              847-330-4294 (direct)
Greenbrier & Russel Inc.            847-706-4020 (fax)
1450 East American Lane Suite 1700  http://www.gr.com
Schaumburg, IL 60173                pmcglauchlin@gr.com
---------------------------------------------------------




view thread (3+ messages)  latest in thread

Message-ID: <002a01bdfb7f$c4210a80$df35d7ce@pmcglauchlin.gr.com>
Permalink:  ../002a01bdfb7f$c4210a80$df35d7ce@pmcglauchlin.gr.com/
Also on:    postgresql.org/message-id/002a01bdfb7f$c4210a80$df35d7ce@pmcglauchlin.gr.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pmcglauchlin@gr.com
  Subject: Re: Where can I get documentation on the using the JDBC interface?
  In-Reply-To: <002a01bdfb7f$c4210a80$df35d7ce@pmcglauchlin.gr.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox