ModsFinder

Minecraft MySQL JDBC

by Axionize

Minecraft MySQL JDBC is a library that bundles Oracle's MySQL Connector/J driver for mods and server plugins that need a MySQL database connection.

FabricForgeNeoForgeQuiltGNU General Public License v2.0 onlyOpen source1.12.2 – 26.1.2

What it does

The library ships an up-to-date MySQL Connector/J binary wrapped for Fabric, Forge, NeoForge, Quilt and Bukkit-family servers, including Paper, Spigot, Bukkit, Purpur and Folia. Plugins such as Grim Anti-Cheat can use its MySQL backend through the library's API once the holder is installed. Because the jar is repackaged from Oracle's official Connector/J, it keeps the driver's own class names and behavior.

The defaults of the newer driver need overriding in most real deployments. With MySQL 8 and caching_sha2_password, the connection string needs allowPublicKeyRetrieval=true for an unencrypted channel, and useSSL=true fails against a server without a public CA-signed certificate. Setting useSSL=false or adding verifyServerCertificate=false covers a self-signed setup. Setting rewriteBatchedStatements=true folds batch INSERTs into multi-row statements, while without it each row still costs a round trip. The library is open source and released under the GNU General Public License v2.0 only, with an exception for free software.

Key features

  1. Bundled Connector/J

    The library carries an up-to-date MySQL Connector/J binary, so mods need no separate driver package.

  2. Child-first class loading

    The driver loads in a child-first URLClassLoader, so mods get a standard java.sql.Connection and their casts still work.

  3. Driver class name

    The class com.mysql.cj.jdbc.Driver resolves under both the old and new Connector/J artifact coordinates.

  4. Grim Anti-Cheat backend

    Grim Anti-Cheat's MySQL backend uses this library's API automatically once the holder is installed.

Compatibility

Latest build for each game version and loader.

26.x3 of 3 versions with builds
26.1.29.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
26.1.19.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
26.19.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.x12 of 12 versions with builds
1.21.119.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.109.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.99.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.89.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.79.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.69.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.59.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.49.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.39.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.29.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.21.19.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.219.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-039.7.0+2026-05-03
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

2 older game versions (1.12.2 – 1.13) not shown. All files on Modrinth

How it compares

Full comparison

MariaDB JDBC is open source under the GNU Lesser General Public License v2.1 only and covers Fabric, Forge and Quilt for 1.12 – 1.20.4. MySQL JDBC Driver is open source under the GNU General Public License v2.0 only, for Fabric and NeoForge across 1.18 – 1.21.4. SQLite JDBC is open source under the Apache License 2.0 and also targets Fabric, Forge and Quilt for 1.12 – 1.20.4.

ModLoadersGame versionsEnvironmentUpdated
Minecraft MySQL JDBCFabric, Forge, NeoForge and Quilt1.12.2 – 26.1.2Not published2026-06-06
MariaDB JDBCFabric, Forge and Quilt1.12 – 1.20.4Client or server, optional2023-05-06
MySQL JDBC DriverFabric and NeoForge1.18 – 1.21.4Client or server, optional2025-01-03
SQLite JDBCFabric, Forge and Quilt1.12 – 1.20.4Client or server, optional2023-05-06

Questions

Does the library need to be installed on both sides?

The library is a dependency for other mods, and installing it on either side is enough for those mods to use it.

Which loaders and versions does the library support?

Files cover Fabric, Forge, NeoForge and Quilt, with the game version range 1.12.2 – 26.1.2. Paper, Spigot, Bukkit, Purpur and Folia are also supported.

Why does connecting to MySQL 8 fail without changing the URL?

The newer driver defaults to useSSL=true and needs public key retrieval for caching_sha2_password. Setting allowPublicKeyRetrieval=true or useSSL=false in the connection string resolves the handshake.

In the catalog

Minecraft MySQL JDBC is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.

More from Axionize

All projects

Similar mods

What the author says

Oracle's official MySQL Connector/J repackaged as a Bukkit/Spigot/Paper plugin and a Fabric/Forge/NeoForge mod. com.mysql:mysql-connector-j:9.1.0 plus minimal loader stubs for Spigot, Forge 1.12, Forge 1.13–1.16, Forge 1.17–1.20, NeoForge 1.21+, and Fabric. No relocation — com.mysql.cj.* classes stay at canonical…
Axionize, on the Modrinth page

Official listing

Owner
Axionize
Published
2026-04-25
Updated on Modrinth
2026-06-06
Facts verified
2026-10-15

Tags