Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: JDBC Connection




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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group