Académique Documents
Professionnel Documents
Culture Documents
This document will describe Step by Step how to create ODBC Connection in Oracle Linux, The
Concept is the same for Linux version, you can use it but you need to install Different Package
Osama Mustafa Oracle ACE, a database specialist, Certified Oracle Professional (10g, 11g),
Certified Ethical hacker (Penetration testing), and Sun System Administrator, author of book
Oracle Penetration Testing. Publishes many articles, including Oracle database articles in his
blog,Fusion Middle Ware and Oracle RAC Documentation, Including to this he is Active
Member On Oracle OTN and other Groups.
Twitter: @OsamaOracle.
G+: Osama Mustafa.
Slid-Share: Osama Mustafa.
LinkedIn: http://www.linkedin.com/in/osamamustafa.
Blog: http://osamamustafa.blogpsot.com.
Heading to
http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
Check which version of database you need, and download it. In my case I am using 11.2.0.4
Copy the Both Package & Zip file to Server using winscp Software.
[OPTIONAL]
This Step if you dont have Driver Manager on your server, to check this you need to check if
odbc.ini,or odbcinst.ini exists on your server, if yes skip this step, else no continue reading.
Now using any browser open http://www.unixodbc.org/
Now you should be able to see new folder with name unixODBC-2.3.2
[root@OEL6 u01]# cd unixODBC-2.3.2
Follow these steps to install unixODBC (Driver Manager) on your Server:
[root@OEL6 u01]# ./configure --prefix=$HOME --enable-gui=no --enable-drivers=no
$HOME Where you want to install ODBC ,in my case I install it on /u01/app/ODBC
This supposed to take about 1 minute to interrupted, Dont Change the Directory
Do you still Remember the Zip & Packages downloaded from Oracle Site, we need to use it now:
[root@OEL6 u01]# rpm -ivh oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
Preparing...
########################################### [100%]
########################################### [100%]
This is for two package now unzip the folder ( under /u01 )
[root@OEL6 u01]# unzip instantclient-odbc-linux.x64-11.2.0.4.0.zip
[root@OEL6 u01]# cd instantclient_11_2/
[root@OEL6 instantclient_11_2]# ls
libsqora.so.11.1
ODBC_IC_Readme_Unix.html
ODBCRelnotesJA.htm
ODBCRelnotesUS.htm
odbc_update_ini.sh
[root@OEL6 instantclient_11_2]# ./odbc_update_ini.sh /u01/ODBC/
It will be fast
= TEST ODBC
= /u01/instantclient_11_2/libsqora.so.11.1
=
=1
=5
=5
To Test ODBC:
[root@OEL6 lib]# cd /u01/ODBC/bin/
[root@OEL6 bin]# ./isql -v [ODBC_NAME] Username password