Ledger Databases
No reviews yet
Adds support for additional database types to Ledger
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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"]
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"]
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources