Home›Java›Mods›Ledger Databases
Ledger Databases
ModsJava

Ledger Databases

Java mod listed for Minecraft 1.17–1.21. Downloads from the MC Java Mods app on Android.

by potatoboy99999 · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.4–1.21.10 · Fabric⬇ Download for 1.19–1.20.3 · Fabric⬇ Download for 1.18.1 · Fabric⬇ Download for 1.18 · Fabric⬇ Download for 1.17–1.17.1 · Fabric⬇ Download for 1.20.4–1.21.10 · Quilt⬇ Download for 1.19–1.20.3 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Ledger Databases

Adds support for MySQL, PostgreSQL and H2 databases in Ledger

Use

Common

For all database types, you will need to place Ledger Databases in your mods folder along with the latest version of ledger

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 = []

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 = "MYSQL"
url = ""
username = ""
password = ""
properties = []

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"]
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