This section describes how to connect SQL Workbench to Exasol and run an SQL statement.
The following environment is used as an example:
- SQL Workbench standard edition
- Windows Operating System
- Exasol should be installed and running on your system.
- Java Runtime environment should be installed
- JDBC Driver should be installed. You can download the JDBC Driver from the Exasol Downloads portal. For more information about JDBC Driver, see JDBC Driver.
- Launch SQL Workbench and provide the following details in the Select Connection Profile dialog. Alternatively, select File > New Window and provide the details;
- Default group name: Exasol
- Driver: Select EXASolution (com.exasol.jdbc.EXADriver) from the Driver drop-down.
The Exasol driver does not come integrated with SQL Workbench. On selection in the Driver drop-down, it shows a message for editing the driver. Click OK in the message box to edit the driver.
- Click Open and provide the path of the JDBC driver installation directory and click OK to continue. For example, C:\Program Files (x86)\Exasol\EXASolution-7.1\JDBC\exajdbc.jar
- Provide the following details in the Select Connection Profile dialog and click OK to continue:
- Exasol installation URL with jdbc:exa: prefix.
- Exasol username and password for the user.
You can click the Test button to test the connection settings.
On a successful connection, a message is shown, click OK to continue.
- Enter an SQL statement in blank space. The result is displayed below the query window.
After connecting SQL Workbench to Exasol, you can start loading data into the Exasol database. For more information, see Loading Data.
For more information about SQL Workbench, see SQL Workbench Official Documentation.