DbSchema for Cockroach Database

DbSchema is a powerful database management and design tool for Cockroach. It offers features such as visual schema design, team collaboration with GIT, schema deployment and HTML schema documentation.

How to Connect to Cockroach Database

  1. Access the Connection Dialog

    Choose "Connect to the database" or "New Model Connected to the Database" will let you select your database and open the Connection Dialog.

    DbSchema automatically downloads the JDBC driver to connect to your database.

  2. Configure the Connection
  3. In the Connection Dialog window, select the JDBC URL you want to connect with. If your database is running in the cloud, choose Edit Manually and insert the JDBC URL from the cloud console.

    Enter the host name, the authentication details, select your database as described in the Connection Dialog page.

  4. Troubleshoot Firewall Issues
  5. If you encounter connection issues, it may be due to firewall settings. Read how to enable Firewall Connections.
Remember to enable Windows Firewalls Firewalls & anti-viruses may block database connections.

On cockroachlabs.cloud, select the database, then click on "Connect" (top right of page). On the Connect popup select "Java".

Connect to Cockroach

Copy the JDBC URL, replace the password and in the DbSchema connection dialog select 'Edit Manually' in the Connection Method, and paste the URL into the URL field.

DbSchema Connection Dialog