DbSchema for Databricks Database

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

How to Connect to Databricks 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.

Getting the JDBC URL

First, you have to create a Databricks in Azure and then use 'Launch Workspace' to access it. If you have multiple Compute items, click one of them.

JDBC URL

In the cluster configuration scroll on the bottom to the 'Advanced' section.

JDBC URL

There click the Advanced Options. There you will find the JDBC URL:

JDBC URL in Databricks

In DbSchema choose to manually connect to the database, and copy the JDBC URL. In the URL you have to replace the TOKEN as described below.

Connection Dialog in DbSchema

When connecting, you can leave the user and password fields empty.

Getting the Access Token

The token generation is documented as described in the Databricks documentation.

  • In your Azure Databricks workspace, click your Azure Databricks username in the top bar, and then select User Settings from the drop down.

    Databricks User Settings

  • On the Access tokens tab, click Generate new token.

Access Token

Generate an access token:

Access Token