java.sql.SQLException: No suitable driver - Mailing list pgsql-jdbc

From Yunush Mulla
Subject java.sql.SQLException: No suitable driver
Date
Msg-id 20060310074447.76175.qmail@web8402.mail.in.yahoo.com
Whole thread Raw
Responses Re: java.sql.SQLException: No suitable driver  (Brendan Duddridge <brendan@clickspace.com>)
Re: java.sql.SQLException: No suitable driver  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
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!

pgsql-jdbc by date:

Previous
From: "Thomas Dudziak"
Date:
Subject: Re: binary protocol was Performance problem with timestamps in result sets
Next
From: Brendan Duddridge
Date:
Subject: Re: java.sql.SQLException: No suitable driver