Skip to content

Ledger Databases

Adds support for additional database types to Ledger

by Potatoboy9999· DrexHD
Fabric
Loaders
Fabric
Downloads on Modrinth
5.6K
Followers on Modrinth
29
versions
3
Updated
April 1, 2026Apr 1
Published
in 2024

At a glance

Runs on Fabric
For Minecraft 1.20.4–26.2
Server only — players don't need to install it
Latest version — 1.2.2 from April 1, 2026
Requires Ledger
License MIT — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.20.4–26.2

Ledger Databases

Adds support for MySQL, H2, and PostgreSQL databases in Ledger

Use

Common

For both MySQL, H2, and PostgreSQL, you will need to place Ledger Databases in your mods folder along with Ledger 1.1.0 or newer

H2

Add the following to the bottom of your Ledger config file:

[database_extensions]
database = "H2"

MySQL

Add the following to the bottom of your Ledger config file:

[database_extensions]
database = "MYSQL"
url = ""
username = ""
password = ""
properties = []
maxPoolSize = 10
connectionTimeout = 60000

url: Must be URL of database with /<database_name> appended. An example URL would be localhost/ledger. You can optionally add port information such as localhost:3000/ledger

PostgreSQL

[database_extensions]
database = "POSTGRESQL"
url = ""
username = ""
password = ""
properties = []
maxPoolSize = 10
connectionTimeout = 60000

SQLite

[database_extensions]
database = "SQLITE"

Connector properties

For some databases, such as MySQL, you can provide properties to the database connector. For each property, add a string entry to the properties array.

properties = ["useJDBCCompliantTimezoneShift=true", "useLegacyDatetimeCode=false", "serverTimezone=UTC"]

FAQ

How to install Ledger Databases?

Install Fabric for your Minecraft version, download Ledger Databases for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Ledger Databases support?

Ledger Databases has builds for Minecraft 1.20.4–26.2.

Is Ledger Databases needed on the server?

Server only — players don't need to install it

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

More mods by this author

AntiXray↓ 617KLedger↓ 330KVanish↓ 453K

Often needed together

Ledger↓ 330K

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More