java.sql.SQLException: No suitable driver

From: Yunush Mulla <mullayunush(at)yahoo(dot)co(dot)in>
To: PG Sql <pgsql-jdbc(at)postgresql(dot)org>
Subject: java.sql.SQLException: No suitable driver
Date: 2006-03-10 07:44:47
Message-ID: 20060310074447.76175.qmail@web8402.mail.in.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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!

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Brendan Duddridge 2006-03-10 07:48:56 Re: java.sql.SQLException: No suitable driver
Previous Message Thomas Dudziak 2006-03-10 00:05:47 Re: binary protocol was Performance problem with timestamps in result sets