Oopsy
This commit is contained in:
1 parent
a5f6851162
commit
4036a7ddea
1 file changed
+2
-2
@@ -26,12 +26,12 @@ public class MysqlConnector {
|
||||
*/
|
||||
public MysqlConnector connect() throws SQLException {
|
||||
try {
|
||||
Class.forName("com.mysql.jdbc.Driver");
|
||||
Class.forName("com.mysql.cj.jdbc.Driver");
|
||||
c = DriverManager.getConnection("jdbc:mysql://" + dbHost + ":3306/" + dbName, dbUser, dbPass);
|
||||
} catch (ClassNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user