0% found this document useful (0 votes)
195 views

Oracle - ODBC 32-Bit Driver Install

This document provides instructions for connecting a 64-bit Oracle database to a 32-bit ODBC driver. It involves downloading and installing the Oracle Instant Client, setting environment variables to reference the client installation directory and TNS configuration file location, configuring a system DSN using the Oracle driver, and testing the connection.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
195 views

Oracle - ODBC 32-Bit Driver Install

This document provides instructions for connecting a 64-bit Oracle database to a 32-bit ODBC driver. It involves downloading and installing the Oracle Instant Client, setting environment variables to reference the client installation directory and TNS configuration file location, configuring a system DSN using the Oracle driver, and testing the connection.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

64-bit Database (Oracle) with 32-bit ODBC driver

1) Download and Install ODBC drivers from

https://www.oracle.com/technetwork/topics/winsoft-085727.html

- Kindly download the two folders

1) instantclient-basic-nt-11.2.0.4.0.zip

2) instantclient-odbc-nt-11.2.0.4.0.zip

2) Unzip both downloaded folder into same folder (for example:


c:\oracle\instant_client_11)

3) Kindly create a new folder along with step -2


(c:\oracle\11.2.0\CLIENT\network\admin)

4) Client’s database team has to provide tnsnames.ora file to connect to the


server from the client. Once the file is received then need to keep on the path
mentioned in step-3. (c:\oracle\11.2.0\CLIENT\network\admin).
Sample tnsnames.ora file and its content
Host: - Database server hostname/IP
Port: - Database server port
ORCL: - Database/Service name

5) Kindly add below mentioned two Environment variables


- Kindly add the path value (c:\oracle\instant_client_11) created in step-2 into path variable

- Kindly add the environment variable TNS_ADMIN and give the value as a path mentioned in step-3
(c:\oracle\11.2.0\CLIENT\network\admin)

6) Kindly run cmd as administrator and go to the folder mentioned in step-2


(c:\oracle\instant_client_11) and run the below command.
• c:\oracle\instant_client_11\odbc_install.exe

• press enter and below message will be displayed.

• Oracle ODBC Driver is installed successfully.


7) Install VC++ redistributable 2005(x86).
https://www.microsoft.com/en-in/download/details.aspx?id=3387

8) Create User DSN with ODBC drivers selecting Oracle in instant_client_11_12

- Open odbc data source administration (32-bit)


- Goto system DSN and click on Add
- Select oracle instant client _11_2

- Give any name as datasource, Description, TNS service name (Database name) and click on test connection.

- Kindly add username, password and click on ok. Connection successful popup will come.
9) Kindly use the same machine data source in database connect command

DSN=AA_test_oracle;UID=SYSTEM;PWD=password1;DBQ=ORCL
;DBA=W;APA=T;EXC=F;FEN=T;QTO=T;FRC=10;FDL=10;LOB=T;RST=T;BTD=F;BNF=F;BAM=IfAllSuccessful;NUM=NL
S;DPM=F;MTS=T;MDI=F;CSR=F;FWC=F;FBS=64000;TLO=O;MLD=0;ODA=F;

You might also like