This section explains how to connect and load data into Exasol from another database using the Exasol JDBC driver.
The other database system must be reachable from the Exasol system.
The user that is used to create the connection must exist on the other database and have adequate privileges.
Follow the procedure described in Add JDBC Driver to upload the settings.cfg
configuration and JDBC driver files to Exasol.
To create a connection, run the following statement. Replace the connection string and credentials with the corresponding values for the database that you are connecting to.
CREATE OR REPLACE CONNECTION JDBC_CON1
TO '<jdbc_connection_string>'
USER 'sys'
IDENTIFIED BY 'exasol';
To test the connection, run the following statement.
You can use the IMPORT statement to load data using the connection you created above. IMPORT supports loading data from a table or a SQL statement.