From: Brendan Duddridge <brendan@clickspace.com>
To: Yunush Mulla <mullayunush@yahoo.co.in>
Cc: PG Sql <pgsql-jdbc@postgresql.org>
Subject: Re: java.sql.SQLException: No suitable driver
Date: Fri, 10 Mar 2006 00:48:56 -0700
Message-ID: <25FFAFC3-3B67-4F78-A88C-C65EB77B12CD@clickspace.com> (raw)
In-Reply-To: <20060310074447.76175.qmail@web8402.mail.in.yahoo.com>
References: <20060310074447.76175.qmail@web8402.mail.in.yahoo.com>
That usually means your jdbc driver can't be found in your java
classpath.
____________________________________________________________________
Brendan Duddridge | CTO | 403-277-5591 x24 | brendan@clickspace.com
ClickSpace Interactive Inc.
Suite L100, 239 - 10th Ave. SE
Calgary, AB T2G 0V9
http://www.clickspace.com
On Mar 10, 2006, at 12:44 AM, Yunush Mulla wrote:
> Hi,
> I m developing a application in which i need to connect to
> postgres Database lying on remote host.
> when I tried to connect to remote database Using following code:
>
> connection=DriverManager.getConnection("jdbc:postgresql://"+host
> +":"+port+"/sms",user,pwd);
>
> I got error like this:
> java.sql.SQLException: No suitable driver
>
> what could be the cause? What could be the solution???
>
>
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
Attachments:
smime.p7s (application/pkcs7-signature, 2.3K) download
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: brendan@clickspace.com, mullayunush@yahoo.co.in
Subject: Re: java.sql.SQLException: No suitable driver
In-Reply-To: <25FFAFC3-3B67-4F78-A88C-C65EB77B12CD@clickspace.com>
References: <20060310074447.76175.qmail@web8402.mail.in.yahoo.com> <25FFAFC3-3B67-4F78-A88C-C65EB77B12CD@clickspace.com>
* 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