Hi all,
when I used JDBC driver (Connector/J3.0.8) to run my java database agent codes, It always have following errors:
java.lang.classNotFoundException : com.mysql.jdbc.driver
at java.net.URLClassloader$1.run(URLClassLoader.java:198)
I set the Classpath to "mysql-connector-java-3.0.8-stable-bin.jar"
and my url="jdbc:mysql://localhost:3306/test","","" (test is my database name)
using JDBC DriverManager and "com.mysql.jdbc.driver" to load the driver:
class.forName("com.mysql.jdbc.driver").newInstance();


I have no clue what's going on, I appriciate if anyone can give soem advices!Thx.

Joe

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to