MySQL Forums
Forum List  »  Install & Repo

Connector J => no suitable driver !!
Posted by: avalon adasd
Date: August 23, 2004 02:21PM

i have install mysql database 3.23.38, and put mysql-connector-java.jar v.3.0 in java_home/jre/lib/ext/ + CLASSPATH addition.
then i run this test program :
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn = DriverManager.getConnection("jbdc:mysql:///test");
catch ( .....)
test database is the default database from mysql.
it always throws exception -> "class java.sql.SQLException : No suitable driver."
how can i fix this config problem ? thank you.

Options: ReplyQuote


Subject
Written By
Posted
Connector J => no suitable driver !!
August 23, 2004 02:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.