Attempted to update to 1.17.1

This commit is contained in:
2021-07-13 18:38:35 +02:00
parent eb2b1bf5f7
commit 99e5c1b25e
2 changed files with 8 additions and 8 deletions
@@ -26,7 +26,7 @@ public class DatabaseConnection {
if (this.connection == null || this.connection.isClosed()) {
synchronized (this) {
if (this.connection == null || this.connection.isClosed()) {
this.connection = DriverManager.getConnection("jdbc:" + this.drivers + "://" + this.ip + ":" + this.port + "/" + this.database, this.username, this.password);
this.connection = DriverManager.getConnection("jdbc:" + this.drivers + "://" + this.ip + ":" + this.port + "/" + this.database + "?autoReconnect=true&useSSL=false", this.username, this.password);
}
}
}