Download PlanetScale JDBC Driver

Download the PlanetScale JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.

Connect PlanetScale in DbSchema Install the driver, open a connection, reverse engineer your schema, and sync changes visually.

About the PlanetScale JDBC driver

A JDBC driver is a Java .jar library that lets applications connect to PlanetScale. DbSchema uses JDBC to reverse engineer schemas, run SQL, and generate documentation. Driver files are usually published by the database vendor or an open-source project.

JDBC URL format

Host, port, database name, and SSL options are passed in a URL starting with jdbc:. Each PlanetScale driver uses its own syntax — see the connection details below.

The PlanetScale JDBC driver

PlanetScale is a MySQL-compatible serverless database platform built on Vitess, the technology behind YouTube's database infrastructure. It introduces a branching workflow for database schema changes, allowing developers to iterate on schema in isolated branches before deploying. PlanetScale's non-blocking schema change system eliminates downtime during migrations.

The PlanetScale JDBC URL

  • Required File(s): mysql-connector-j-xxx.jar
  • Java Driver Class: com.mysql.cj.jdbc.Driver
  • JDBC URL: jdbc:mysql://{HOST}:{PORT}/{DB}
  • Website: PlanetScale

Each PlanetScale branch has its own connection credentials available in the PlanetScale dashboard. Use sslMode=VERIFY_IDENTITY for secure connections. The MySQL Connector/J driver is fully compatible.

DbSchema and PlanetScale

DbSchema connects to PlanetScale using the MySQL JDBC driver, allowing visual schema exploration of each database branch, MySQL-compatible SQL editing, and schema comparison across branches to manage non-blocking schema change deploy requests.

Test the driver with DbSchema

Connect PlanetScale, build your first ER diagram in minutes. No account required.

1
Download driver & DbSchema

Get the PlanetScale driver zip below and install DbSchema for Windows, macOS, or Linux.

2
Register the .jar

In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.

3
Design & document

Reverse engineer PlanetScale, edit the model visually, and publish schema documentation.

Use PlanetScale visually in DbSchema

After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.

ER diagrams

Reverse engineer PlanetScale into an interactive diagram and edit structures visually.

SQL & query builder

Run SQL with autocomplete or compose queries without writing every join by hand.

Schema documentation

Export HTML docs your team can browse without installing DbSchema.

Full PlanetScale guide

Connection tips, ports, SSL, and schema design workflows on the database landing page.

Other drivers teams often configure alongside PlanetScale.

Browse all JDBC driver downloads

Teams working with PlanetScale often use these engines too. Explore dedicated guides and JDBC setup for each.

Browse all 100+ supported databases