Manually load mysql driver (#950)
This commit is contained in:
parent
fcbdc460c6
commit
216cf6b404
@ -35,6 +35,7 @@ public class ArclightServer {
|
|||||||
((MinecraftServerBridge) console).bridge$setConsole(ColouredConsoleSender.getInstance());
|
((MinecraftServerBridge) console).bridge$setConsole(ColouredConsoleSender.getInstance());
|
||||||
|
|
||||||
Class.forName("org.sqlite.JDBC");
|
Class.forName("org.sqlite.JDBC");
|
||||||
|
Class.forName("com.mysql.cj.jdbc.Driver");
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
throw new RuntimeException("Error initializing Arclight", t);
|
throw new RuntimeException("Error initializing Arclight", t);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user