Re: [INTERFACES] Where can I get documentation on the using the JDBC interface?

From: John Reilly <jr(at)broadcom(dot)ie>
To: pmcglauchlin(at)gr(dot)com
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Where can I get documentation on the using the JDBC interface?
Date: 1998-10-21 11:12:49
Message-ID: 362DC1B1.150E1E12@broadcom.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Phil McGlauchlin wrote:
> I am trying to get the jdbc interface to work but I keep getting a
> SQLException "connection refused".

First of all, make sure you are running the postmaster with the "-i" option.

> 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.

edit the pg_hba.conf to set the hosts that are allowed to access the db

To change user details like the password, use psql. type "\h alter user"
for syntax details

John

--
-----------------------------------------------------------------------------
John Reilly, | Phone: +353 1 6046006
Broadcom Eireann Research Ltd., | Fax: +353 1 6761532
Kestrel House, | Email: jr(at)broadcom(dot)ie
Clanwilliam Place, |
Dublin 2, Ireland |
-----------------------------------------------------------------------------

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Hartwig 1998-10-21 12:27:36 Re: [INTERFACES] Re: using indexes with the OR clause
Previous Message franz-josef.ziegert 1998-10-21 10:49:23 MSIE40 and JDBC