What is the MySQL JDBC driver connection string?
Assuming your driver is in path, String url = “jdbc:mysql://localhost/test”; Class.forName (“com.mysql.jdbc.Driver”).newInstance (); Connection conn = DriverManager.getConnection (url, “username”, “password”);