No suitable driver - Linux JDBC MySQL 
Author Message
 No suitable driver - Linux JDBC MySQL

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.***.com/
Before you buy.



Wed, 24 Apr 2002 03:00:00 GMT
 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.


Wed, 24 Apr 2002 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. JNDI JDBC TOMCAT MYSQL pb:no suitable driver

2. no suitable driver error with mysql jdbc

3. Linux & JDBC error: no suitable driver

4. getConnection + mysql Driver + MS-Explorer 4.0 = No suitable drivers :(

5. jdbc driver for mysql on linux

6. db2 jdbc driver -- no suitable driver for db2profc

7. Problem with passwords (MySQL, mm.mysql.jdbc driver)

8. No suitable driver when using JDBC in Java applet

9. JDBC, Postgres and Jserv - Exception: No Suitable Driver

10. JDBC - No suitable driver error

11. JDBC: No Suitable Driver Error

12. JDBC ERROR: NO SUITABLE DRIVER


 
Powered by phpBB® Forum Software