Installing JDBC drivers for AWS Schema Conversion Tool
For AWS SCT to work correctly, download the JDBC drivers for your source and target database engines. If you use a virtual target database platform, you don't need to download the JDBC driver for your target database engine. For more information, see Mapping to virtual targets in the AWS Schema Conversion Tool.
After you download the drivers, you give the location of the driver files. For more information, see Storing driver paths in the global settings.
You can download the database drivers from the following locations.
Important
Download the latest version of the driver available. The following table includes the lowest version of database driver supported by AWS SCT.
Database engine | Drivers | Download location |
---|---|---|
Amazon Aurora MySQL-Compatible Edition |
|
|
Amazon Aurora PostgreSQL-Compatible Edition |
|
|
Amazon EMR |
|
http://awssupportdatasvcs.com/bootstrap-actions/Simba/latest/ |
Amazon Redshift |
|
|
Amazon Redshift Serverless |
|
|
Apache Hive |
|
https://repo1.maven.org/maven2/org/apache/hive/hive-jdbc/2.3.4/hive-jdbc-2.3.4-standalone.jar |
Azure SQL Database |
|
|
Azure Synapse Analytics |
|
|
Greenplum Database |
|
|
IBM Db2 for z/OS |
|
https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads-db2-zos |
IBM Db2 LUW |
|
|
MariaDB |
|
https://downloads.mariadb.com/Connectors/java/connector-java-2.4.1/mariadb-java-client-2.4.1.jar |
Microsoft SQL Server |
|
|
MySQL |
|
|
Netezza |
Use the client tools software. Download driver version 7.2.1, which is backwards compatible with data warehouse version 7.2.0. |
|
Oracle |
Driver versions 8 and higher are supported. |
https://www.oracle.com/database/technologies/jdbc-ucp-122-downloads.html |
PostgreSQL |
|
|
SAP ASE (Sybase ASE) |
|
|
Snowflake |
For more information, see
Downloading / Integrating the JDBC Driver |
https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/3.9.2/snowflake-jdbc-3.9.2.jar |
Teradata |
For Teradata JDBC driver version 16.20.00.11 and higher, you don't
need the |
https://downloads.teradata.com/download/connectivity/jdbc-driver
|
Vertica |
Driver versions 7.2.0 and higher are supported. |
https://www.vertica.com/client_drivers/9.1.x/9.1.1-0/vertica-jdbc-9.1.1-0.jar |
Installing JDBC drivers on Linux
You can use the following steps to install the JDBC drivers on your Linux system for use with AWS SCT.
To install JDBC drivers on your Linux system
-
Create a directory to store the JDBC drivers in.
PROMPT>sudo mkdir –p /usr/local/jdbc-drivers
-
Install the JDBC driver for your database engine using the commands shown following.
Database engine Installation commands Amazon Aurora (MySQL compatible)
PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo tar xzvf /tmp/mysql-connector-java-X.X.X.tar.gz
Amazon Aurora (PostgreSQL compatible)
PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo cp -a /tmp/postgresql-X.X.X.jre7.tar .
Microsoft SQL Server
PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo tar xzvf /tmp/sqljdbc_X.X.X_enu.tar.gz
MySQL
PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo tar xzvf /tmp/mysql-connector-java-X.X.X.tar.gz
Oracle
PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo mkdir oracle-jdbc PROMPT> cd oracle-jdbc PROMPT> sudo cp -a /tmp/ojdbc8.jar .
PostgreSQL
PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo cp -a /tmp/postgresql-X.X.X.jre7.tar .
Storing driver paths in the global settings
After you have downloaded and installed the required JDBC drivers, you can set the location of the drivers globally in the AWS SCT settings. If you don't set the location of the drivers globally, the application asks you for the location of the drivers when you connect to a database.
To update the driver file locations
-
In AWS SCT, choose Settings, and then choose Global Settings.
-
For Global settings, choose Drivers. Add the file path to the JDBC driver for your source database engine and your target Amazon RDS DB instance database engine.
-
When you are finished adding the driver paths, choose OK.