Friday, February 28, 2014

How to configure MySQL DB Connector on Tomcat7

Frist, add the db connector driver .jar to the folder ...tomcat7/lib

Then, add the following code before DriverManager.getConnection(...);

Class.forName("com.mysql.jdbc.Driver");


IT's done!

No comments:

Post a Comment