Remove maxReconnects to show sql errors

This commit is contained in:
Ghost_chu committed 2021-06-13 21:57:43 +08:00
1 parent 548a5b71b4
commit 5696641173
1 file changed
+2 -2
@@ -60,8 +60,8 @@ public class MySQLCore extends AbstractDatabaseCore {
info.setProperty("password", pass);
info.setProperty("useUnicode", "true");
info.setProperty("characterEncoding", "utf8");
info.setProperty("maxReconnects", "65535");
info.setProperty("failOverReadOnly", "false");
//info.setProperty("maxReconnects", "65535");
// info.setProperty("failOverReadOnly", "false");
info.setProperty("useSSL", String.valueOf(useSSL));
if (false) { //TODO Option for addBatch to improve performance
info.setProperty("rewriteBatchedStatements", "true");