mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-04 17:50:18 +01:00
Merge pull request #2654 from linuxdaemon/v3.0+fix-mariadb-driver-pkg
Fix MariaDB Driver package name Thanks!
This commit is contained in:
commit
4a5e14ee73
@ -289,7 +289,7 @@ public class MariaDBMapStorage extends MapStorage {
|
|||||||
connectionString = "jdbc:mariadb://" + hostname + ":" + port + "/" + database + "?allowReconnect=true";
|
connectionString = "jdbc:mariadb://" + hostname + ":" + port + "/" + database + "?allowReconnect=true";
|
||||||
Log.info("Opening MariaDB database " + hostname + ":" + port + "/" + database + " as map store");
|
Log.info("Opening MariaDB database " + hostname + ":" + port + "/" + database + " as map store");
|
||||||
try {
|
try {
|
||||||
Class.forName("com.mariadb.jdbc.Driver");
|
Class.forName("org.mariadb.jdbc.Driver");
|
||||||
// Initialize/update tables, if needed
|
// Initialize/update tables, if needed
|
||||||
if(!initializeTables()) {
|
if(!initializeTables()) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user