728x90
There is no installation program for the stand alone IBM Data Server Driver for ODBC and CLI. You must install the driver manually:
- Copy the compressed file that contains the driver onto the target machine from the internet or a DB2 Version 9 installation CD.
- Uncompress that file into your chosen install directory on the target machine.
- Optional: remove the compressed file.
If you are installing the IBM Data Server Driver for ODBC and CLI under the following conditions:
- the operating systems on the target machine is AIX®; and
- the DB2 Version 9 CD is mounted on the target machine.
the steps you would follow are:
- Create the directory $HOME/db2_cli_odbc_driver, where you will install the driver.
- Locate the compressed file ibm_data_server_driver_for_odbc_cli.tar.Z on the install CD.
- Copy the tar file ibm_data_server_driver_for_odbc_cli.tar.Z to the install directory, $HOME/db2cli_odbc_driver.
- Uncompress ibm_data_server_driver_for_odbc_cli.tar.Z:
- cd $HOME/db2_cli_odbc_driver
- tar -xvf ibm_data_server_driver_for_odbc_cli.tar
- Delete ibm_data_server_driver_for_odbc_cli.tar.Z.
- Ensure the following if you installed the driver on a NFS file system:
- On UNIX® or Linux® platforms the db2dump and the db2 directory need to be writable. Alternatively, the path you have referenced in the diagpath parameter must be writable.
- If host or i5/OS® data servers are being accessed directly ensure the license directory is writable.
If you are installing the IBM Data Server Driver for ODBC and CLI on Windows Platform, then you could copy the compressed folder under C:\Program Files\IBM and uncompress it. If you want to register the newly installed driver into the OBCD Administrator tool, then run the exe db2oreg1.exe located under the bin directory of the uncompressed driver(e.g: <uncompressed driver folder>/bin/db2oreg1.exe) from the command prompt as:
cd <uncompressed driver folder>/bin
db2oreg1 -i
After the above command is run to complete, you could see the driver registered in the ODBC Data source Administrator's Driver panel.
If you are installing 32-bit ODBC Driver on 64-bit Windows Operating System then you might hit the error "Data source name not found and no default driver specified".
Please follow the guidelines from the below link to resolve the issue:
Pointing to 32 bit ODBC driver on 64 bit Microsoft system
You could also find the resolution in the Microsoft Technote:
http://support.microsoft.com/kb/942976
728x90
'Db2 > Db2 reference' 카테고리의 다른 글
Kernel parameter tuning on HP-UX, Oracle Solaris and Linux (0) | 2012.07.21 |
---|---|
사용자의 DB접속을 막는 4가지 방법 (0) | 2012.07.21 |
Setting up the ODBC environment (Linux and UNIX) (0) | 2012.05.06 |
Setting up the unixODBC driver manager (0) | 2012.05.06 |
DB2 9.7에서 온라인 백업 수행중 TRUNCATE 이슈 (0) | 2012.05.05 |