Re: Connecting postgreSQL using JDBC

From: Travis Bauer <trbauer(at)indiana(dot)edu>
To: Howard <kstse(at)netvigator(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Connecting postgreSQL using JDBC
Date: 2000-06-28 12:29:46
Message-ID: Pine.GSO.4.21.0006280727330.4586-100000@piccolo.cs.indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

As was mentioned, check you pg_hba.conf. Also, you need to specify where
in the network the server is located by further qualifying the url name:

jdbc:postgresql://host_name_here/database_name

----------------------------------------------------------------
Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer
----------------------------------------------------------------

On Wed, 28 Jun 2000, Howard wrote:

> java program:
> ...DriverManager.getConnection ("jdbc:postgresql:webtest", "nobody",
> "");
> where webtest is my testing database name.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Travis Bauer 2000-06-28 12:32:11 Re: Restricting queries by the presence of a WHERE clause
Previous Message kurt miller 2000-06-28 11:18:36 Interface Question