DbVisualizer is a SQL runner that works with any JDBC-compliant data source. You can run SQL from it to explore your data in your data lakes and relational databases through Dremio and the JDBC driver for Arrow Flight SQL.
You can use any version of DbVisualizer, as long as you use Dremio 21 or later.
Supported Authentication Methods
You can use your Dremio username and password, or you can use a personal authentication token that you obtained from Dremio.
- Download the JDBC driver for Arrow Flight SQL.
- If you want to authenticate your connection to Dremio by using a personal access token, see Creating PATs for the steps to obtain one.
Connecting to Dremio
Add the JDBC Driver for Arrow Flight SQL to DbVisualizer’s Driver Manager. You need to do this only once, and can skip this step if DbVisualizer already lists this driver in its Driver Manager dialog:
a. Select Tools > Driver Manager.
b. Above the Driver Name list of the Driver Manager dialog, click the plus (+) symbol.
c. In the Name field, name the driver.
d. Under Driver artifacts and jar files, click the plus icon, browse to the
.jarfile that you downloaded, select it, and click Open. DbVisualizer loads the
e. If you are not using TLS encryption for connections to Dremio, turn off encryption:
- Click Properties next to Driver Settings.
- Click the plus icon to add a new property.
- Name the parameter
useEncryptionand set the value to
- Click Apply.
f. Close the Driver Manager dialog.
Create a connection to Dremio:
a. In the menubar, select Database > Create Database Connection.
b. Double-click Custom at the bottom of the Driver Name list.
c. Name the connection.
d. In the Settings Format field, select Database URL.
e. Click in the Driver Type field and then double-click the name that you gave to the JDBC driver for Arrow Flight SQL.
f. In the Database URL field, specify a URL in this format, where
hostis the hostname of your coordinator node:
g. In the Database Userid and Database Password fields, specify your authentication credentials:
To use a personal access token that you obtained from Dremio:
In the Database Userid field, specify the username for which the PAT was generated.
In the Database Password field, paste your personal access token.
To use your Dremio username and password:
In the Database Userid field, specify your username.
In the Database Password field, your password.
h. If you are not using TLS encryptions for connections to Dremio, click the Properties tab and ensure that the property
useEncryptionis listed and that the value is
false. Then, click the Connection tab.
f. Click Finish.
DbVisualizer creates the connection and opens it.
If you want to use DbVisualizer with the legacy JDBC driver, see the instructions here.