Re: JDBC Connection - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: JDBC Connection
Date
Msg-id Pine.BSO.4.56.0407112053280.22112@leary.csoft.net
Whole thread Raw
In response to JDBC Connection  (Eric Wright <eric.wright@shaw.ca>)
List 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


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Timestamp Question
Next
From: Eric Wright
Date:
Subject: Re: JDBC Connection