To connect to a DB2 or iSeries database using the IBM DB2 driver, you need to have the appropriate driver installed on the host where Centerprise client and/or server runs. This article explains the steps needed to install the driver.
If the DB2 driver is not already installed on the target machine, please follow the steps below to have it installed.
- Visit the IBM website at ibm.com and navigate to the IBM support page.
Note: You may use the link below. This link is provided for your convenience. It is working as of the time of writing this article. However, please note that IBM may change their website structure in the future.
- Click the IBM Data Server Driver Package (DS Driver) link as shown below:
- Select the appropriate driver for your target OS, keeping in mind that you will need 32 bit driver for 32 bit OS, and 64 bit driver for 64 bit OS. The two most appropriate choices are highlighted in red below.
- You may be required to sign in. If you do not have IBM universal user account, you will need to create it before proceeding to the next step.
- In the next page, make the appropriate selections, then agree to the license terms, and click I Confirm.
- Make sure that IBM Data Server Driver Package is selected and click Download Now. This will download the driver installer.
Note: In the example above, we downloaded version 11.1 of IBM DB2 driver, which has been verified to work with Centerprise. Optionally, you may use an earlier version of the driver, such as 10.1 or 9.7, which have been verified to work with Centerprise as well.
- Run the installer file.
Note: It is strongly recommended that you run the installer under an Administrator account. One of the ways to accomplish this is to right-click the executable and select Run as Admin.
- This opens the DB2 Installer. Keep the default selections throughout the installer, as shown in the screenshots below.
- Finally, confirm the desired configuration as shown below, and click Install:
- This installs the IBM DB2 driver.
It is recommended that you restart the OS after the installation is complete.
- To test IBM DB2 connectivity in Centerprise, create a new dataflow and add a database source object. In the list of providers, select DB2 as shown below:
- Enter the connection information for your target DB2 or iSeries database, and click Test Connection… to verify that the connection is successful: