DataGrip

This article explains how to use DataGrip with Exasol.

DataGrip comes with a built-in Exasol driver.

For more information about DataGrip, refer to the DataGrip Official Documentation.

Exasol takes no responsibility for any changes in functionality or terms of use for the third-party software described in this section. For more information, refer to the respective software vendor’s website.

Environment

The following procedure uses the trial version of DataGrip on Windows.

Prerequisites

  • A running Exasol SaaS database. For more information, see Database Management.
  • The IP address of the host where the tool is running must be in the allowed IP address list. For more information, see Network Security.
  • Exasol JDBC driver is installed
  • DataGrip is installed

Get JDBC Driver and Connection Details

To connect to your Exasol SaaS database from a tool you need a valid connection string. You must also allow network access to the database from the tool, and make sure that the latest Exasol JDBC driver is installed.

  1. On the Databases page in the web console, click on Connect via tools on the cluster that you want to connect to.

    connect via tools

  2. In the wizard, enter the IP address of the client or server that will connect to the database and click Add IP, then click Next. This will add the IP address to the list of IP addresses that are allowed network access to the cluster. The allow list is found on the Security page in the web console. For more information, see Network Security.

    If the IP address is already present in the allow list, just click Next.

    enter ip address

  3. If the latest JDBC driver for your operating system is not already installed, select the driver type and operating system and click on Download to download the latest driver to your local system. For more information about how to install the driver, see JDBC Driver.

    download driver

  4. Click on Next to view your connection details:

    connection details

  5. Copy the Connection string, Port, and User name values from the Connect details dialog. You will need to enter this information in your client to connect to your database.

  6. To generate a new Personal Access Token (PAT) to use for authentication in the client, click on the Password row, then click on Copy to copy the PAT to your clipboard. For more information, see Personal Access Token.

    generated pat

    The generated PAT is only shown once and cannot be retrieved after you have closed the wizard.

  7. Click on Done to close the wizard.

Connect DataGrip to Exasol

  1. Launch DataGrip and do one of the following to add Exasol as a data source:
  • Select File > NewData SourceExasol.
  • In the Database window, click on the icon and select Data Source > Exasol.

    Connect DataGrip to Exasol

  1. Enter the following details on Data Source and Drivers dialog:
  • Name: Enter a name for the new datasource
  • User: The username for the Exasol database
  • Password: The personal access token (PAT)
  • URL: The connection string for the Exasol database with jdbc:exa: prefix

    Connect DataGrip to Exasol

  1. Click on Test Connection to check the connection. If the connection is successful, click on OK to finish. If the connection fails, check the connection string and authentication details.

    Connect DataGrip to Exasol

If all the objects in the database are not visible after adding Exasol as a datasource, right-click the Exasol datasource and select Synchronize.

  1. Enter an SQL statement in the database console. The result is displayed in the same window.

    Connect DataGrip to Exasol

If the console is not visible, right-click the Exasol datasource and select Open Console.