Home›Java›Mods›Minecraft MySQL JDBC Mod (26.3, 1.20.1) – Connect Your Server Plugins
Minecraft MySQL JDBC Mod (26.3, 1.20.1) – Connect Your Server Plugins
ModsJava

Minecraft MySQL JDBC Mod (26.3, 1.20.1) – Connect Your Server Plugins

Java mod listed for Minecraft 1.20–26.x. Downloads from the MC Java Mods app on Android.

by Moon

⬇ Download
Minecraft MySQL JDBC Mod (26.3, 1.20.1) – Connect Your Server Plugins — screenshot 1

Minecraft MySQL JDBC Mod provides an up-to-date MySQL Connector/J driver wrapped as a universal library for servers. This mod helps other mods and plugins, such as Grim Anti-Cheat, connect to external MySQL or MariaDB databases. It is most useful on Fabric, NeoForge, and custom Bukkit forks that remove the default bundled database driver.

Minecraft MySQL JDBC Mod

Features:

Public API Methods:

Configuration:

jdbc:mysql://host:3306/db?useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
# in your plugin.yml
softdepend: [mysql-jdbc]
Properties props = new Properties();
props.setProperty("user", "grim");
props.setProperty("password", "...");
Connection c;
try {
    c = MinecraftMysqlJdbc.connect("jdbc:mysql://host:3306/db?useSSL=false", props);
} catch (NoClassDefFoundError | ClassNotFoundException notInstalled) {
    c = DriverManager.getConnection("jdbc:mysql://host:3306/db?useSSL=false", props);
}

Minecraft MySQL JDBC Mod Download Links

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more