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

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 (view raw or flat)
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

pgsql-interfaces by date

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

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