pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Reilly <jr@broadcom.ie>
To: pmcglauchlin@gr.com
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Where can I get documentation on the using the JDBC interface?
Date: Wed, 21 Oct 1998 12:12:49 +0100
Message-ID: <362DC1B1.150E1E12@broadcom.ie> (raw)
References: <002a01bdfb7f$c4210a80$df35d7ce@pmcglauchlin.gr.com>

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@broadcom.ie
Clanwilliam Place,		|
Dublin 2,  Ireland		|
-----------------------------------------------------------------------------



view thread (3+ messages)

Message-ID: <362DC1B1.150E1E12@broadcom.ie>
Permalink:  ../362DC1B1.150E1E12@broadcom.ie/
Also on:    postgresql.org/message-id/362DC1B1.150E1E12@broadcom.ie

 · 

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: jr@broadcom.ie, pmcglauchlin@gr.com
  Subject: Re: [INTERFACES] Where can I get documentation on the using the JDBC interface?
  In-Reply-To: <362DC1B1.150E1E12@broadcom.ie>

* 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