From: Yunush Mulla <mullayunush@yahoo.co.in>
To: PG Sql <pgsql-jdbc@postgresql.org>
Subject: java.sql.SQLException: No suitable driver
Date: Thu, 9 Mar 2006 23:44:47 -0800 (PST)
Message-ID: <20060310074447.76175.qmail@web8402.mail.in.yahoo.com> (raw)
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!
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: mullayunush@yahoo.co.in
Subject: Re: java.sql.SQLException: No suitable driver
In-Reply-To: <20060310074447.76175.qmail@web8402.mail.in.yahoo.com>
References: <20060310074447.76175.qmail@web8402.mail.in.yahoo.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