Re: java.sql.SQLException: No suitable driver

From: Kris Jurka <books(at)ejurka(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 19:25:28
Message-ID: Pine.BSO.4.63.0603101424520.12598@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 9 Mar 2006, Yunush Mulla wrote:

> connection=DriverManager.getConnection("jdbc:postgresql://"+host+":"+port+"/sms",user,pwd);
>
> java.sql.SQLException: No suitable driver
>

Have you done a Class.forName("org.postgresql.Driver"); ?

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tomi NA 2006-03-11 14:27:25 meta-data problem
Previous Message Marc Herbert 2006-03-10 15:49:44 Re: binary protocol was Performance problem with timestamps in result sets