You can install the driver package on Mac OS X by using installDSDriver.sh.
Before you begin
Download the Db2® driver package
for your operating system from the web console.
Procedure
- New install
If the driver package is not already installed, perform a new install:
- Mount the disk image by double-clicking the file_name.dmg file.
A new Finder window opens with the contents of the disk image.
If the Finder window does not open, double-click the file_name icon on your desktop.
- In the Finder window, double-click the installDSDriver.sh file.
The driver package is installed in the default location: /Applications/dsdriver.
- Update
If an older version of the driver package is already installed, update it:
- Back up current configuration files:
- Go the Applications/dsdriver/cfg folder.
- Copy the following files to a different folder:
db2cli.ini
db2dsdriver.cfg
- Remove the currently installed driver package:
Right-click the dsdriver folder and select Move to Trash.
- Install the new driver package as described for a "new install":
- Mount the disk image by double-clicking the file_name.dmg file.
- In the Finder window, double-click the installDSDriver.sh file.
- Restore the configuration files:
Copy the db2cli.ini
and db2dsdriver.cfg
files that you saved from step 1 to the /Applications/dsdriver/cfg folder.
What to do next
To be able to connect your local applications or client tools to your Db2 database, configure your environment for your Db2 database.