Dolt stores relational data in tables you can branch, diff, merge, and push like a Git project. It speaks the MySQL wire protocol and exposes versioning through SQL and a Git-style CLI.
Overview
Dolt combines a MySQL-compatible SQL engine with Git-like version control for schema and row data. Teams connect with ordinary SQL clients to query and update tables while history, branches, and merges remain first-class operations alongside traditional transactions.
Versioning appears both on the command line—where familiar Git verbs target tables instead of files—and inside the database via system tables, functions, and stored procedures named after their CLI counterparts. Dolt commits capture points in time for rollback, comparison, and lineage, separate from standard SQL transaction commits unless configured otherwise.
Operators run a built-in MySQL-compatible server, import CSV files, fork databases, and collaborate through remotes. Documentation highlights agent memory workloads and integrations with companion platforms for hosting shared databases, though the core engine runs locally once installed.
The project ships as a single binary for common desktop and server platforms, optional container images, and supports schema features such as foreign keys, indexes, triggers, checks, and stored procedures expected from a modern relational store.
Key features
- Git-style branch and merge for tables
- MySQL-compatible SQL server
- CLI mirroring Git commands
- Versioning via SQL procedures
- System tables for logs and diffs
- Instant rollbacks and undrop
- Foreign keys and modern SQL schema definitions
- Official Docker images
Use cases
- Auditable data change history
- Branching schema experiments
- Collaborative dataset sharing
- Agent and multi-machine memory
- Recovering from mistaken SQL