Ledger Databases
Modby potatoboy99999
Adds support for additional database types to Ledger
Type
Mod
CurseForge Downloads
1,144,131
CurseForge ID
529404
Modrinth Downloads
4,472
Modrinth ID
qo9qFPdi
Last Updated
Jul 26, 2026
Description
# 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:
```toml
[database_extensions]
database = "H2"
```
## MySQL
Add the following to the bottom of your Ledger config file:
```toml
[database_extensions]
database = "MYSQL"
url = ""
username = ""
password = ""
properties = []
maxPoolSize = 10
connectionTimeout = 60000
```
`url`: Must be URL of database with `/` appended. An example URL would be `localhost/ledger`. You can optionally add port information such as `localhost:3000/ledger`
## PostgreSQL
```toml
[database_extensions]
database = "POSTGRESQL"
url = ""
username = ""
password = ""
properties = []
maxPoolSize = 10
connectionTimeout = 60000
```
## SQLite
```toml
[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.
```toml
properties = ["useJDBCCompliantTimezoneShift=true", "useLegacyDatetimeCode=false", "serverTimezone=UTC"]
```
Compatibility
Mod Loaders
Fabric
Game Versions
1.20.4
1.20.5
1.20.6
1.21
1.21.1
1.21.2
1.21.3
1.21.4
1.21.5
1.21.6
+9 more
Similar Mods
ID Squeezer Tweak
Fixes the ID Squeezer at low TPS.
Mod
11,482,048
Map Atlases [Forge]
A vanilla-friendly minimap / world-map mod using vanilla Maps, introducing the "Atlas".
Mod
11,473,105
SimpleLabels
Labels for the Deep Storage Unit, and more!
Mod
11,468,920
Eyes in the Darkness
A small spooky mod for the MMD Spookyjam
Mod
11,465,274
ShadowizardLib
A library mod that contains shared code between my mods
Mod
11,446,903
Mouse Wheelie (Fabric)
A "small" clientside mod featuring item scrolling, inventory sorting, item refilling and more!
Mod
11,435,814