mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-08 01:17:45 +01:00
Loading of MySQL driver on all platforms
All platforms now load the MySQL driver included in Plan. Hopefully they also use it.
This commit is contained in:
parent
9dc98c6941
commit
90b263f483
@ -23,7 +23,6 @@ import com.djrapitops.plan.settings.config.PlanConfig;
|
|||||||
import com.djrapitops.plan.settings.config.paths.DatabaseSettings;
|
import com.djrapitops.plan.settings.config.paths.DatabaseSettings;
|
||||||
import com.djrapitops.plan.settings.locale.Locale;
|
import com.djrapitops.plan.settings.locale.Locale;
|
||||||
import com.djrapitops.plan.settings.locale.lang.PluginLang;
|
import com.djrapitops.plan.settings.locale.lang.PluginLang;
|
||||||
import com.djrapitops.plugin.api.Check;
|
|
||||||
import com.djrapitops.plugin.benchmarking.Timings;
|
import com.djrapitops.plugin.benchmarking.Timings;
|
||||||
import com.djrapitops.plugin.logging.L;
|
import com.djrapitops.plugin.logging.L;
|
||||||
import com.djrapitops.plugin.logging.console.PluginLogger;
|
import com.djrapitops.plugin.logging.console.PluginLogger;
|
||||||
@ -89,7 +88,7 @@ public class MySQLDB extends SQLDB {
|
|||||||
@Override
|
@Override
|
||||||
public void setupDataSource() {
|
public void setupDataSource() {
|
||||||
try {
|
try {
|
||||||
if (Check.isVelocityAvailable()) loadMySQLDriver();
|
loadMySQLDriver();
|
||||||
|
|
||||||
HikariConfig hikariConfig = new HikariConfig();
|
HikariConfig hikariConfig = new HikariConfig();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user