Create Connection

This section explains how to set up the connection between Teradata and Exasol.

Before you begin the migration procedure, you need to upload the Teradata JDBC driver to Exasol and configure a connection between the databases. 

JDBC driver

Download the JDBC Driver

Download the JDBC driver from the Teradata JDBC driver download site. Make sure that you download the correct version of the JDBC driver for the Teradata version.

Install the Driver

In Exasol 8, drivers must be uploaded to BucketFS. By default, the database is configured to use the following path for all JDBC drivers:


The default bucket is available on port 2581 by default. Ensure that traffic on this port has been enabled in your network settings.

For more information about BucketFS, see the BucketFS section.

Create a Configuration File

The following examples contain placeholders that are styled as Bash variables, for example: $NODE_IP. Replace the placeholders with your own values.

Create a configuration file settings.cfg that specifies the configuration parameters for your driver, using the following format:

  • Replace $MY_DRIVERNAME with a unique name of your choice. This name is used in the driver clause in an IMPORT or EXPORT statement.

  • Replace $PREFIX with the required URL prefix for the JDBC driver. The prefix can be found on the driver manufacturer's website.

  • Do not modify the FETCHSIZE or INSERTSIZE parameters unless instructed to by Exasol support.

  • Make sure that the last line ends with a line feed (LF) character, as there must be an empty line at the end of the file.

Security Manager

Some drivers require additional permissions to run correctly. In these cases, you may receive an error message pointing to permission problems in the IMPORT statement. To disable the security manager, add the line NOSECURITY=YES to the settings.cfg file. The security manager is enabled by default.

Disabling the security manager can reduce the security of your system. Only add NOSECURITY=YES if the driver cannot run with the security manager enabled.


The following example is a settings.cfg file for the Exasol JDBC driver:


Upload the configuration file

Upload the settings.cfg file and the driver *.jar files to the specified bucket path on one of the database nodes.

The following examples use curl on a Linux terminal. You can also use other interfaces and languages to execute curl commands.

The option --insecure or -k tells curl to bypass the TLS certificate check. This option allows you to connect to a HTTPS server that does not have a valid certificate. Only use this option if certificate verification is not possible and you trust the server.


curl -v --insecure -X PUT -T settings.cfg https://w:$WRITE_PW@$DATABASE_NODE_IP:2581/default/drivers/jdbc/exasol/settings.cfg
curl -v --insecure -X PUT -T exajdbc.jar https://w:$WRITE_PW@$DATABASE_NODE_IP:2581/default/drivers/jdbc/exasol/exajdbc.jar

Create and test the connection

  1. Open a SQL client and create the connection from Exasol to Teradata:
    TO 'jdbc:teradata://' 
    USER 'dbc' IDENTIFIED BY 'dbc';
  2. Test the connection by performing a small dummy import:
    STATEMENT 'SELECT ''Connection to Teradata works''';