Re: JDBC Connection

From: Kris Jurka <books(at)ejurka(dot)com>
To: Eric Wright <eric(dot)wright(at)shaw(dot)ca>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC Connection
Date: 2004-07-12 01:54:07
Message-ID: Pine.BSO.4.56.0407112053280.22112@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sun, 11 Jul 2004, Eric Wright wrote:

> Hello,
>
> I am having some trouble connecting to my postgres database. I have
> started off with a simple test class to make and test a connection. When
> I run the simple tester I am getting the following output:
>
> The connection failed.
> java.sql.SQLException: No suitable driver
> String url = "jdbc:postgres://192.168.1.101/asset";

The URL must start with jdbc:postgresql not postgres.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Eric Wright 2004-07-12 05:15:10 Re: JDBC Connection
Previous Message Oliver Jowett 2004-07-12 00:50:00 Re: Timestamp Question