MariaDB JDBC
by Kosmolot
MariaDB JDBC supplies the MariaDB JDBC driver to Fabric, Forge, Quilt, Paper and Spigot, so other mods can connect to MariaDB databases.
What it does
Other mods that use a MariaDB database need this driver installed alongside them, since the driver is an external library and not part of those mods. The package repackages the upstream MariaDB connector with mod metadata added, so that a loader can load it as a mod. It contains no changes to the underlying driver code.
The same universal JAR runs on Forge, Fabric and Spigot across the 1.12 – 1.20.4 range. The latest file is 3.1.4+20230506 for 1.20.4, published on 2023-05-06. The mod is released under the GNU Lesser General Public License v2.1 only and is open source, with public links to the source code and issue tracker. Either side can load it, and neither needs it.
Key features
Driver packaging
The official MariaDB connector is repackaged with added mod metadata, so loaders recognise it as a mod.
Unmodified driver code
The underlying JDBC driver is not altered; only the packaging around it differs from the upstream release.
Single universal JAR
One file serves Forge, Fabric and Spigot, rather than a separate build for each platform.
Server platform support
Paper and Spigot servers can load the driver, so plugins that connect to MariaDB can use 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.
Use cases
Database-backed mods
Mods that store or read data in a MariaDB server load this driver as their connection library.
Server-side data storage
Server owners running Paper or Spigot can install the driver so that plugins reach a MariaDB instance.
Who it’s for: Mod authors and server owners whose setup needs a MariaDB connection. Players who only play without such mods have no use for it.
How it compares
MySQL JDBC Driver is another database driver, for Fabric and NeoForge across 1.18 – 1.21.4, licensed under the GNU General Public License v2.0 only and open source. PostgreSQL JDBC Driver covers the same loaders and versions and is open source under the BSD 2-Clause License, for PostgreSQL rather than MariaDB. MariaDB JDBC is licensed under the GNU Lesser General Public License v2.1 only and is open source, and it targets Fabric, Forge, Quilt, Paper and Spigot.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| MariaDB JDBC | Fabric, Forge and Quilt | 1.12 – 1.20.4 | Client or server, optional | 2023-05-06 |
| MySQL JDBC Driver | Fabric and NeoForge | 1.18 – 1.21.4 | Client or server, optional | 2025-01-03 |
| PostgreSQL JDBC Driver | Fabric and NeoForge | 1.18 – 1.21.4 | Client or server, optional | 2025-01-03 |
Questions
Does MariaDB JDBC need to be installed on both sides?
Which loaders does MariaDB JDBC support?
Are other mods required for MariaDB JDBC?
In the catalog
MariaDB 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
MariaDB 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/mariadb-jdbc
- Owner
- Kosmolot
- Published
- 2023-05-06
- Updated on Modrinth
- 2023-05-06
- Facts verified
- 2026-10-15
