jdbc: MySQL Connector/J probleme
From: Geiregat Jonas (eniac_at_sdf-eu.org)
Date: 03/29/04
- Next message: Shuaib Kauchali: "Re: Performance: "pl/sql" vs. "OS b-tree files""
- Previous message: José Antonio Cuesta: "Performance: "pl/sql" vs. "OS b-tree files""
- Next in thread: Herman Timmermans: "Re: jdbc: MySQL Connector/J probleme"
- Reply: Herman Timmermans: "Re: jdbc: MySQL Connector/J probleme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 19:08:47 +0000
I'm using MySQL Connector/J 3.0.11-stable,
My app compiles fine but when I run it I always get these errors:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at QueryApp2.main(QueryApp2.java:25)
I don't know what's wrong I've added the com and lib dir's to my
classpath also I've tryed to place the *jar file in
$JAVA_HOME/jre/lib/ext, but that didn't help.
The single source file is located at http://jonasg.ath.cx/jdbc
- Next message: Shuaib Kauchali: "Re: Performance: "pl/sql" vs. "OS b-tree files""
- Previous message: José Antonio Cuesta: "Performance: "pl/sql" vs. "OS b-tree files""
- Next in thread: Herman Timmermans: "Re: jdbc: MySQL Connector/J probleme"
- Reply: Herman Timmermans: "Re: jdbc: MySQL Connector/J probleme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]