1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 15:03:36 +01:00

MySQL database creation fix

This commit is contained in:
Zrips 2022-08-08 14:45:27 +03:00
parent 0964e5b32b
commit b1a4e64288

View File

@ -8,6 +8,8 @@ import java.sql.Statement;
import com.gamingmesh.jobs.Jobs; import com.gamingmesh.jobs.Jobs;
import com.gamingmesh.jobs.dao.JobsManager.DataBaseType; import com.gamingmesh.jobs.dao.JobsManager.DataBaseType;
import net.Zrips.CMILib.Logs.CMIDebug;
public class JobsMySQL extends JobsDAO { public class JobsMySQL extends JobsDAO {
private static String path = ""; private static String path = "";
@ -29,6 +31,7 @@ public class JobsMySQL extends JobsDAO {
+ "?maxReconnects=1&characterEncoding=" + characterEncoding + "&encoding=" + "?maxReconnects=1&characterEncoding=" + characterEncoding + "&encoding="
+ encoding + "&useUnicode=true&autoReconnect=" + autoReconnect + "&useSSL=" + ssl + encoding + "&useUnicode=true&autoReconnect=" + autoReconnect + "&useSSL=" + ssl
+ "&verifyServerCertificate=" + certificate, username, password, prefix); + "&verifyServerCertificate=" + certificate, username, password, prefix);
this.database = database;
setDbType(DataBaseType.MySQL); setDbType(DataBaseType.MySQL);
} }