* added some todos

This commit is contained in:
lukas-heiligenbrunner
2020-01-12 14:05:28 +01:00
parent c3fb92d6eb
commit ac02e4bd62
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,7 @@ public class MySQLConnector extends Database {
}
public Connection getConnection() throws SQLException {
DriverManager.setLoginTimeout(1); // TODO: 30.11.19 set higher maybe
DriverManager.setLoginTimeout(1);
return DriverManager.getConnection(
"jdbc:mysql://" + host + ":" + port + "/" + dbName + "?useSSL=false",
user,