1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 14:05:25 +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.dao.JobsManager.DataBaseType;
import net.Zrips.CMILib.Logs.CMIDebug;
public class JobsMySQL extends JobsDAO {
private static String path = "";
@ -29,6 +31,7 @@ public class JobsMySQL extends JobsDAO {
+ "?maxReconnects=1&characterEncoding=" + characterEncoding + "&encoding="
+ encoding + "&useUnicode=true&autoReconnect=" + autoReconnect + "&useSSL=" + ssl
+ "&verifyServerCertificate=" + certificate, username, password, prefix);
this.database = database;
setDbType(DataBaseType.MySQL);
}