mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-26 00:31:44 +01:00
Fix MariaDB Driver package name
The package name for the MariaDB JDBC drivers available from https://mariadb.com/kb/en/library/mariadb-connector-j/ is `org.mariadb` not `com.mariadb`. Fixes #2653
This commit is contained in:
parent
1be9f663c7
commit
4ec3964988
@ -289,7 +289,7 @@ public class MariaDBMapStorage extends MapStorage {
|
||||
connectionString = "jdbc:mariadb://" + hostname + ":" + port + "/" + database + "?allowReconnect=true";
|
||||
Log.info("Opening MariaDB database " + hostname + ":" + port + "/" + database + " as map store");
|
||||
try {
|
||||
Class.forName("com.mariadb.jdbc.Driver");
|
||||
Class.forName("org.mariadb.jdbc.Driver");
|
||||
// Initialize/update tables, if needed
|
||||
if(!initializeTables()) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user