This commit is contained in:
HarvelsX
2022-07-25 12:13:46 +03:00
parent ed4200b23f
commit a9898fd806
7 changed files with 43 additions and 3 deletions
@@ -134,7 +134,7 @@ public class MySQL extends AbstractSqlDataSource {
ds.setMaxLifetime(maxLifetime * 1000L);
// Database URL
ds.setJdbcUrl("jdbc:mysql://" + this.host + ":" + this.port + "/" + this.database);
ds.setJdbcUrl(this.getJdbcUrl(this.host, this.port, this.database));
// Auth
ds.setUsername(this.username);