Download the Cockroach JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.
A JDBC driver is a Java .jar library that lets applications connect to Cockroach.
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.
Host, port, database name, and SSL options are passed in a URL starting with jdbc:.
Each Cockroach driver uses its own syntax — see the connection details below.
CockroachDB is a distributed SQL database that uses the PostgreSQL wire protocol and is designed for horizontal scalability, strong consistency, and survivability across datacenter failures. It is a popular choice for globally distributed applications that need ACID transactions at scale.
CockroachDB is wire-compatible with PostgreSQL, so DbSchema connects using the standard PostgreSQL JDBC driver.
Download CockroachDB JDBC Driver
The driver archive is a zip file. Extract it and load the .jar files using DbSchema's Driver Manager.
Because CockroachDB speaks PostgreSQL, DbSchema connects using the standard PostgreSQL JDBC driver and renders tables, foreign keys, and indexes exactly as it would for PostgreSQL. Use DbSchema's Schema Synchronization to manage CockroachDB schema migrations across regions.
Connect Cockroach, build your first ER diagram in minutes. No account required.
Get the Cockroach driver zip below and install DbSchema for Windows, macOS, or Linux.
In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.
Reverse engineer Cockroach, edit the model visually, and publish schema documentation.
After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.
Reverse engineer Cockroach into an interactive diagram and edit structures visually.
Run SQL with autocomplete or compose queries without writing every join by hand.
Export HTML docs your team can browse without installing DbSchema.
Connection tips, ports, SSL, and schema design workflows on the database landing page.
Other drivers teams often configure alongside Cockroach.
Teams working with Cockroach often use these engines too. Explore dedicated guides and JDBC setup for each.