From: Kris Jurka <books@ejurka.com>
To: Eric Wright <eric.wright@shaw.ca>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC Connection
Date: Sun, 11 Jul 2004 20:54:07 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0407112053280.22112@leary.csoft.net> (raw)
In-Reply-To: <001c01c46785$5a943470$6601a8c0@numbertwo>
References: <001c01c46785$5a943470$6601a8c0@numbertwo>
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, eric.wright@shaw.ca
Subject: Re: JDBC Connection
In-Reply-To: <Pine.BSO.4.56.0407112053280.22112@leary.csoft.net>
References: <001c01c46785$5a943470$6601a8c0@numbertwo> <Pine.BSO.4.56.0407112053280.22112@leary.csoft.net>
* 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