PlanetScale is serverless MySQL built on Vitess, and its branching workflow gives every schema change an isolated branch with its own credentials. DbSchema connects to any branch with the MySQL driver and that branch's connection string, and shows its schema as a diagram worth reviewing.
Trusted by teams at
On PlanetScale, schema changes travel as branches and ship through deploy requests — the platform's pull request for DDL. The request shows the migration text; what it cannot show is the shape of the schema around it.
DbSchema adds that shape: connect to the branch, see its tables, relationships, and index coverage as a diagram, and judge the change in context before the deploy request ships.
MySQL-compatible tooling for a Vitess-backed workflow.
Lay the branch schema out in focused diagrams, check relationships and index coverage visually, and export the layout for the review thread.
Run standard MySQL statements against any branch, and use EXPLAIN to confirm the plan hits your indexes before the change goes further.
Page and filter branch tables to confirm fixtures and data migrations produced what you expected — then export a CSV snapshot to share.
Keep the schema as a DbSchema model file in your repository: design and review it alongside the application code, then carry the approved change into the PlanetScale deploy request that ships it. Two reviews, no surprises.
Select MySQL in DbSchema — the Connector/J driver (com.mysql.cj.jdbc.Driver) is
bundled — and copy the branch's username and password from the "Connect" panel in the
PlanetScale dashboard; every branch has its own credential set. With host
aws.connect.psdb.cloud and the default MySQL port 3306, the URL reads
jdbc:mysql://aws.connect.psdb.cloud/mydb.
SSL is required on every PlanetScale connection: add ?sslMode=VERIFY_IDENTITY
(older drivers: ?useSSL=true&requireSSL=true) if it is not enabled
automatically. Name connection profiles after their branches — "main",
"feature/add-payments" — to tell them apart. PlanetScale keeps foreign keys as documentation
rather than enforcing them at runtime; DbSchema still draws them as logical relationships.
Driver details: PlanetScale JDBC driver page.
Free Community Edition, a 15-day Architect trial, and not a single signup form.
Teams working with PlanetScale often use these engines too. Explore dedicated guides and JDBC setup for each.