From: Harald Kirschner <Harald.Kirschner@weihenstephan.org>
To: pgsql-interfaces@postgresql.org
Subject: Connection with JDBC
Date: Thu, 19 Aug 1999 21:07:51 +0200
Message-ID: <000101beea76$22bffac0$ddc85fc2@freising.weihenstephan.org> (raw)
Folks,
I run a java 1.1.7 program trying to connect to a postgres 6.5.1 database
and use postgresql.jar (driver). I always get the exception "Connection
refused", but I can connect to the database by using 'psql database'. I run
the app on localhost. The user I am working is the same user that I use in
the java program with the getConnection statement.
Any idea why it does not work? How do I setup a new user with a password
that is allowed to connect to my database?
This java program worked with version 6.2 but after I upgraded to 6.5.1 it
does not connect anymore....
Harald
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: Harald.Kirschner@weihenstephan.org
Subject: Re: Connection with JDBC
In-Reply-To: <000101beea76$22bffac0$ddc85fc2@freising.weihenstephan.org>
* 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