From: | Peter T Mount <postgresdev(at)maidast(dot)demon(dot)co(dot)uk> |
---|---|
To: | Ronald L Ortloff <rlortlof(at)oak(dot)computing(dot)csbsju(dot)edu> |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: [QUESTIONS] JDBC driver complications |
Date: | 1998-04-08 05:44:45 |
Message-ID: | Pine.LNX.3.95.980408064125.3032A-100000@maidast |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
[redirected to the correct list]
On Tue, 7 Apr 1998, Ronald L Ortloff wrote:
> PostgreSQL people-
>
> I have installed the JDBC driver to the best of my knowledge and it does not
> seem to be working. I tryed running one of the examples and here are the
> errors I get:
>
> at the command line I typed:
> java example.basic jdbc:postgresql:test guest welcome
>
> here is what happened:
> PostgreSQL basic test v6.3 rev 1
>
> Connecting to Database URL = jdbc:postgresql:test
> Exception caught.
> java.sql.SQLException: Connection failed: java.net.ConnectException: Connection
> refused
> java.sql.SQLException: Connection failed: java.net.ConnectException: Connection
> refused
Connection refused indicates that the postmaster is not listening to
tcp/ip connections. For JDBC to work, you must have the -i argument to the
postmaster, and have the pg_hba.conf file configured.
--
Peter T Mount petermount(at)earthling(dot)net or pmount(at)maidast(dot)demon(dot)co(dot)uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter(at)maidstone(dot)gov(dot)uk
From | Date | Subject | |
---|---|---|---|
Next Message | Constantin Teodorescu | 1998-04-08 13:57:49 | Re: libpgtcl instructions - undefined symbol crypt |
Previous Message | Christopher Luk | 1998-04-08 04:38:04 | libpq can't do "insert" |