Merge pull request #2654 from linuxdaemon/v3.0+fix-mariadb-driver-pkg

Fix MariaDB Driver package name
Thanks!
This commit is contained in:
mikeprimm 2019-12-14 08:29:40 -06:00 committed by GitHub
commit 4a5e14ee73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;