
No suitable driver - Linux JDBC MySQL
I wrote a free, simple, text based report writer in Java named
Generic Report Writer that has code to do this as well as examples of
connecting to other systems. You can download it at:
http://www.geocities.com/SiliconValley/Ridge/4280/GenericReportWriter...
Quote:
>Hi,
>I'm trying to connect to a mysql (version 3.22.27) database under
>RedHat6.0 Linux platform through a jdbc driver but I always get a
>"SQLException = No suitable driver".
>I have tried with the mm.mysql.jdbc-1.2b and the
>twz1jdbcForMysql-1.0.4-GA drivers.
>To register the driver I have tried either
>Class.forName(...).newInstance(); statement or
>DriverManager.registerDriver(new ...); statement.
>And I have added the path to the driver classes into the CLASSPATH.
>What esle could I have forgot ?
>Thank you for any help,
> E.G.
>Sent via Deja.com http://www.deja.com/
>Before you buy.
--------
To send me email remove "REMOVETHIS" from my address.