DbSchema is a desktop MySQL GUI for Windows, macOS, and Linux: reverse engineer the schema into an interactive ER diagram, edit tables visually, and roll out reviewed changes to every environment.
Trusted by teams at
MySQL runs more web applications than any other open-source database, and most of those schemas grew table by table, hotfix by hotfix. Foreign keys drift, indexes multiply, and the only map is in one developer's head.
DbSchema turns that schema into a shared visual model — one diagram set, one documentation site, one review flow for every change.
Discover, redesign, and deploy — the whole schema lifecycle in one desktop tool.
Connect and DbSchema discovers every table, foreign key, index, and constraint automatically, then lays them out as a diagram you can rearrange to match your domain.
Compare two MySQL databases — or the model against a live one — and get the exact ALTER, CREATE, and DROP statements that close the gap, reviewed before anything executes.
MySQL-aware autocomplete suggests table names, columns, functions, and keywords as you type; run the statement and inspect results without leaving the window.
Browse and filter data through foreign keys — real or virtual — and edit records inline, instead of writing one-off SELECT queries for every lookup.
Fill development and QA databases from reusable patterns and rules, so features are tested against plausible data instead of three hand-typed rows.
Export searchable HTML5 documentation — diagrams, table and column comments — that reads in a browser, with nothing for the reader to install.
DbSchema keeps the design in a model file next to your code. Draft there, review there, and let the server receive only what survived the review.
Change the model freely — the production server never notices a draft.
Schema history sits next to code history, reviewable in pull requests.
The generated statements are shown in full before they run anywhere.
Apply the approved change to each environment, one deliberate step at a time.
Keep the model in the repository, let reviewers comment on schema diffs like any other change, and generate the migration script from the approved version instead of writing ALTER statements from memory.
Publish the model as interactive HTML5 documentation: searchable diagrams, column comments, and hover details that analysts and new team members browse on their own. The MySQL documentation guide walks through the export step by step.
Explore the Documentation Tool
The AI Assistant writes the query you describe, explains the one you paste in, and suggests the index a slow report is waiting for — grounded in your design model, so it speaks in your table names.
See What the AI Assistant Can Do
Connecting to MySQL and designing the schema (5 min). DbSchema downloads the MySQL Connector/J JDBC driver automatically on first connect; there is also a written guide to creating MySQL ER diagrams.
MySQL listens on port 3306 by default, with URLs of the form jdbc:mysql://host:3306/dbname.
For remote servers, set a non-loopback bind-address in my.cnf and grant the user access from the
connecting host — GRANT ALL ON dbname.* TO 'user'@'app-host', avoiding '%' outside development.
Append ?sslMode=REQUIRED to enforce TLS with Connector/J 8.x; SSH tunnels are configured right in the
connection dialog. MariaDB and Aurora MySQL follow
the same steps.
MySQL Workbench is Oracle's official free tool and a solid administrator's companion. DbSchema concentrates on the design half of the job and works across engines: administer the server with Workbench, design and document the schema with DbSchema — plenty of teams run both.
| DbSchema | MySQL Workbench | |
|---|---|---|
| Supported databases | 100+ — MySQL, MariaDB, PostgreSQL, SQL Server, MongoDB, Snowflake, and more | MySQL |
| ER diagrams and visual schema design | Yes, with multiple layouts per schema | Yes (EER diagrams) |
| Offline design model versioned in Git | Yes — model file with built-in Git integration (Pro) | Model file is not designed for diff-based review |
| Schema compare and migration scripts | Compare any two databases or model versions and generate reviewed migration SQL (Pro) | Model–database synchronization |
| Interactive HTML documentation | Searchable HTML5 diagrams with comments (Pro) | DBDoc reports |
| Visual query builder | Yes (Pro) | — |
| Test data generator and data importer | Yes (Pro) | — |
| MySQL server administration | — (schema design focus) | Yes — users, backup, performance dashboards |
| Price | Free Community edition; paid Pro with 15-day trial | Free |
Comparison based on typical usage of MySQL Workbench 8.x; both tools evolve — check the official documentation for current capabilities.
Community handles everyday client work free; the 15-day trial unlocks the Pro features. No signup.
Teams working with MySQL often use these engines too. Explore dedicated guides and JDBC setup for each.