Load MySQL JDBC Driver : Connection « Database SQL JDBC « Java
- Java
- Database SQL JDBC
- Connection
Load MySQL JDBC Driver
public class MySQLJDBCDriverTest {
public static void main(String[] args) {
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
System.out.println("Good to go");
} catch (Exception E) {
System.out.println("JDBC Driver error");
}
}
}
Related examples in the same category