Version 23.4.8843


You can use the DB2 connector from the CData Sync application to move data from any supported source to the DB2 destination. To do so, you need to add the connector, authenticate to the connector, and complete your connection.

Establish a Connection

To allow Sync to use data from DB2, you first must establish a connection to DB2. Follow these steps to connect DB2 to your Sync account:

  1. Open the Connections page of the Sync dashboard.

  2. Click Add Connection to open the Select Connectors page.

  3. Click the Destinations tab and locate the DB2 row.

  4. Click the Configure Connection icon at the end of that row. If you do not see the Configure Connection icon, you need to add the connector according to the instructions in Connections.

  5. Enter connection settings on the Settings tab:

    • Connection Name - Enter a connection name of your choice.

    • Server - Enter the address or host name of the DB2 server followed by the port number.

    • User - Enter the username that you use to authenticate to the DB2 database.

    • Password - Enter the password that you use to authenticate to the DB2 database.

    • Database - Enter the name of your DB2 database.

  6. Click Create & Test to create the connection.

  7. Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)

Java Edition

The Java Edition of CData Sync requires the db2jcc.jar driver to connect to your DB2 database. If you have not done so already, you can download the JDBC 4.0 driver from the DB2 JDBC Driver Versions and Downloads web page.

Copy the JDBC driver into the libs directory and restart the server.

  • Microsoft Windows: C:\ProgramData\ CData\sync\libs

  • UNIX or Mac OS X: ~/cdata/sync/libs