This commit is contained in:
anthorob committed 2021-11-07 09:09:36 -05:00
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;
}