Fix leftover code in MariaDbConnectionFactory

This commit is contained in:
Luck 2020-11-14 13:50:37 +00:00
parent 9af6dccd9d
commit 23c7eb79d0
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -56,11 +56,6 @@ public class MariaDbConnectionFactory extends HikariConnectionFactory {
config.addDataSourceProperty("databaseName", databaseName);
config.setUsername(username);
config.setPassword(password);
config.setDriverClassName("org.mariadb.jdbc.Driver");
config.setJdbcUrl("jdbc:mariadb://" + address + ":" + port + "/" + databaseName);
config.setUsername(username);
config.setPassword(password);
}
@Override