A modern, lightweight alternative for MySQL and MariaDB. Pure PHP and vanilla JavaScript. Zero dependencies, no build step, no Composer. Drop a folder. Run the installer. Manage your databases.
A real database admin tool
No more textareas with color. No more page reloads on every edit. No more opening tables one by one to search.
A custom 612-token tokenizer with context-aware autocomplete. Type a table alias and a dot — get its columns, not every column in the database.
Click any cell, type, press Enter. AJAX save with a green flash on success. No full-page reloads, no redirect cycles, no losing your scroll position.
Pure-SVG entity diagrams with crow's foot notation. Drag tables, auto-layout, save per database. Right-click for context menu — Browse, Structure, SQL.
Find a value across an entire database in a single query. Skips BLOBs, prepared statements throughout, results grouped by table with matched columns highlighted.
SHOW FULL PROCESSLIST with 2/5/10s auto-refresh, color-scaled query time, one-click kill, current-session marker, filter, hide-sleeping toggle.
Bcrypt + optional TOTP 2FA, CSRF on every mutation, brute-force lockout, IP whitelist, read-only mode, query audit log. No default admin/admin.
Editing tables and writing queries is the floor. Ledger handles the parts most tools wave at: views, triggers, stored routines, scheduled events, partitions, foreign keys.
event_scheduler = OFFMost database tools treat security as an afterthought. Ledger ships every layer enabled-by-default at install time, including the parts other tools skip.
Drop the folder into your web root. Open it in a browser. Run the 3-step installer. You're managing databases.
# clone into your web root
cd /path/to/htdocs
git clone https://github.com/ClearanceClarence/Ledger.git ledger
# open in browser
open http://localhost/ledger/