MySQL JDBC
by Kosmolot
MySQL JDBC supplies a MySQL connector driver for mods that need to reach a MySQL database, and it adds no gameplay content of its own.
What it does
The JAR repackages the official MySQL connector with extra mod metadata so a loader can load it. The mod itself does not change the underlying driver code. Other mods that use a MySQL database need this driver present, and it is installed as a library rather than as a feature players interact with.
One universal JAR is published for Fabric, Forge and Quilt, and the same driver is also offered for the Paper and Spigot server platforms. Builds cover game versions 1.12 – 1.20.4, with 8.0.33+20230506 as the latest file for 1.20.4. Either side can run it, and neither needs it. The code is licensed under the GNU General Public License v2.0 only and is open source; source code and an issue tracker are linked from its page. CraftAudit is one of the catalog mods that depends on this driver, so installing that mod alongside it is required.
Key features
Official MySQL connector
The driver is the official MySQL connector, repackaged without changes to its database behavior.
Universal JAR
A single file works across Forge, Fabric and Spigot builds from 1.12.2 onward.
Library role
The mod provides only the driver, leaving database logic to the mods that depend on it.
Compatibility
Latest build for each game version and loader.
1.20.x5 of 5 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.x3 of 3 versions with builds
1.12.x3 of 3 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Use cases
Mods with database storage
A mod that stores data in MySQL can rely on this driver instead of bundling its own copy.
Who it’s for: Mod authors who need a MySQL connection in their project, and server owners whose installed mods use a MySQL database.
How it compares
Minecraft PostgreSQL JDBC is a Fabric, Forge, NeoForge and Quilt library for PostgreSQL, with versions 1.12.2 – 26.1.2 and open source under the BSD 2-Clause License. PostgreSQL JDBC Driver covers Fabric and NeoForge only, for 1.18 – 1.21.4, and works on either side while neither needs it. MariaDB JDBC Driver is also for Fabric and NeoForge, for 1.18 – 1.21.4, and open source under the GNU Lesser General Public License v2.1 only. Those mods serve other database engines, while this one is for MySQL.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| MySQL JDBC | Fabric, Forge and Quilt | 1.12 – 1.20.4 | Client or server, optional | 2023-05-06 |
| Minecraft PostgreSQL JDBC | Fabric, Forge, NeoForge and Quilt | 1.12.2 – 26.1.2 | Not published | 2026-06-06 |
| PostgreSQL JDBC Driver | Fabric and NeoForge | 1.18 – 1.21.4 | Client or server, optional | 2025-01-03 |
| MariaDB JDBC Driver | Fabric and NeoForge | 1.18 – 1.21.4 | Client or server, optional | 2025-01-06 |
Questions
Does MySQL JDBC add anything to gameplay?
Which loaders can run MySQL JDBC?
Why would a server need this mod?
In the catalog
MySQL JDBC is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from Kosmolot
Similar mods
What the author says
MySQL JDBC driver for use as an external library/optional dependency by other projects. This mod is a universal JAR and runs on all versions of Forge/Fabric/Spigot from 1.12.2 to current.
Official listing
- Modrinth page
- modrinth.com/mod/mysql-jdbc
- Owner
- Kosmolot
- Published
- 2023-05-06
- Updated on Modrinth
- 2023-05-06
- Facts verified
- 2026-10-15
