Add support MariaDB driver: https://github.com/AuthMe/AuthMeReloaded/issues/2556;
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user