mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
Remove maxReconnects to show sql errors
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user