Re: java.sql.SQLException: No suitable driver

From: Brendan Duddridge <brendan(at)clickspace(dot)com>
To: Yunush Mulla <mullayunush(at)yahoo(dot)co(dot)in>
Cc: PG Sql <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: java.sql.SQLException: No suitable driver
Date: 2006-03-10 07:48:56
Message-ID: 25FFAFC3-3B67-4F78-A88C-C65EB77B12CD@clickspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

That usually means your jdbc driver can't be found in your java
classpath.

____________________________________________________________________
Brendan Duddridge | CTO | 403-277-5591 x24 | brendan(at)clickspace(dot)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!

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Markus Schaber 2006-03-10 09:58:06 Re: binary protocol was Performance problem with timestamps
Previous Message Yunush Mulla 2006-03-10 07:44:47 java.sql.SQLException: No suitable driver