SlideShare a Scribd company logo
1 of 6
Download to read offline
Create ODBC Connection in Linux

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

Operating system: Oracle Linux 6.4
Database version: 11.2.0.4

Thank you for Ilmar Kerm to mention Oracle Instant 
Create ODBC Connection in Linux

About the Author

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.
Create ODBC Connection in Linux

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
Create ODBC Connection in Linux

Copy the Both Package & Zip file to Server using winscp Software.

[OPTIONAL]

This Step if you don’t 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/

Copy it the Server
[root@OEL6 u01]# gunzip unixODBC-2.3.2.tar.gz
[root@OEL6 u01]# tar unixODBC-2.3.2.tar

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, Don’t Change the Directory
Create ODBC Connection in Linux
[root@OEL6 unixODBC-2.3.2]# make
[root@OEL6 unixODBC-2.3.2]# make install
The Above two Steps Will take some time please wait.
Now you are installed Driver Manager Check /u01/app/ODBC, you should be able to see the below
files:
drwxr-xr-x. 3 root root 4096 Dec 17 00:26 share
drwxr-xr-x. 2 root root 4096 Dec 17 00:26 include
drwxr-xr-x. 2 root root 4096 Dec 17 00:26 bin
drwxr-xr-x. 3 root root 4096 Dec 17 00:56 etc
drwxr-xr-x. 2 root root 4096 Dec 17 01:37 lib

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%]

[root@OEL6 u01]# rpm -ivh oracle-instantclient11.2-odbc-11.2.0.4.0-1.x86_64.rpm
Preparing...

########################################### [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 
Create ODBC Connection in Linux
Now Driver , and ODBC installed But need to be configured on the server
[root@OEL6 ODBC]# cd /u01/ODBC/etc/
[root@OEL6 etc]# ls
total 12
drwxr-xr-x. 2 root root 4096 Dec 17 00:26 ODBCDataSources
-rw-r--r--. 1 root root 89 Dec 17 00:56 odbc.ini
-rw-r--r--. 1 root root 375 Dec 17 01:51 odbcinst.ini
Using any Editor Open odbcinst.ini by default it will look like this :
[Oracle 11g ODBC driver]
Description = Oracle ODBC driver for Oracle 11g
Driver
= /u01/instantclient_11_2/libsqora.so.11.1
Setup
=
FileUsage
=
CPTimeout
=
CPReuse
=
Copy it and paste in the same the same file
[TEST]
Description
Driver
Setup
FileUsage
CPTimeout
CPReuse

= TEST ODBC
= /u01/instantclient_11_2/libsqora.so.11.1
=
=1
=5
=5

Save it and exist.
Now on the same folder etc you will find odbc.ini , with any editor open it and add the below tags :
[TS]
Description = "TEST"
Driver = TEST  should be same as Driver Above.
Server = SERVER  Database Server IP
Port = 1433  Port for Listener
Database = DBNAME  Using show parameter name.

To Test ODBC:
[root@OEL6 lib]# cd /u01/ODBC/bin/
[root@OEL6 bin]# ./isql -v [ODBC_NAME] Username password

More Related Content

What's hot

What's hot (20)

Understanding index
Understanding indexUnderstanding index
Understanding index
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databases
 
Yapp methodology anjo-kolk
Yapp methodology anjo-kolkYapp methodology anjo-kolk
Yapp methodology anjo-kolk
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
Innodb Deep Talk #2 でお話したスライド
Innodb Deep Talk #2 でお話したスライドInnodb Deep Talk #2 でお話したスライド
Innodb Deep Talk #2 でお話したスライド
 
さいきんの InnoDB Adaptive Flushing (仮)
さいきんの InnoDB Adaptive Flushing (仮)さいきんの InnoDB Adaptive Flushing (仮)
さいきんの InnoDB Adaptive Flushing (仮)
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
 
My sql failover test using orchestrator
My sql failover test  using orchestratorMy sql failover test  using orchestrator
My sql failover test using orchestrator
 
Oracle 資料庫檔案介紹
Oracle 資料庫檔案介紹Oracle 資料庫檔案介紹
Oracle 資料庫檔案介紹
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
 
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트
 
MySQL Database Architectures - High Availability and Disaster Recovery Solution
MySQL Database Architectures - High Availability and Disaster Recovery SolutionMySQL Database Architectures - High Availability and Disaster Recovery Solution
MySQL Database Architectures - High Availability and Disaster Recovery Solution
 
YugabyteDBの実行計画を眺める(NewSQL/分散SQLデータベースよろず勉強会 #3 発表資料)
YugabyteDBの実行計画を眺める(NewSQL/分散SQLデータベースよろず勉強会 #3 発表資料)YugabyteDBの実行計画を眺める(NewSQL/分散SQLデータベースよろず勉強会 #3 発表資料)
YugabyteDBの実行計画を眺める(NewSQL/分散SQLデータベースよろず勉強会 #3 発表資料)
 
Pacemaker 操作方法メモ
Pacemaker 操作方法メモPacemaker 操作方法メモ
Pacemaker 操作方法メモ
 
Oracle管理藝術第1章 在Linux作業體統安裝Oracle 11g
Oracle管理藝術第1章 在Linux作業體統安裝Oracle 11gOracle管理藝術第1章 在Linux作業體統安裝Oracle 11g
Oracle管理藝術第1章 在Linux作業體統安裝Oracle 11g
 
Postgre sql best_practices
Postgre sql best_practicesPostgre sql best_practices
Postgre sql best_practices
 
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
 
スケールアップファーストのNoSQL、ScyllaDB(スキュラDB)
スケールアップファーストのNoSQL、ScyllaDB(スキュラDB)スケールアップファーストのNoSQL、ScyllaDB(スキュラDB)
スケールアップファーストのNoSQL、ScyllaDB(スキュラDB)
 
MySQL5.7 GA の Multi-threaded slave
MySQL5.7 GA の Multi-threaded slaveMySQL5.7 GA の Multi-threaded slave
MySQL5.7 GA の Multi-threaded slave
 

Similar to Steps to Create odbc connection linux

2nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp02
2nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp022nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp02
2nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp02
shaikyunus1980
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Yury Velikanov
 
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linuxInstalling 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Anar Godjaev
 
Oracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_SovannOracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_Sovann
Voeurng Sovann
 

Similar to Steps to Create odbc connection linux (20)

RAC 12c
RAC 12cRAC 12c
RAC 12c
 
2nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp02
2nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp022nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp02
2nodesoracle12craconyourlaptopvirtualboxstepbystepguide1 0-130627143310-phpapp02
 
Usage Note of Qt ODBC Database Access on Linux
Usage Note of Qt ODBC Database Access on LinuxUsage Note of Qt ODBC Database Access on Linux
Usage Note of Qt ODBC Database Access on Linux
 
Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
 
12c on RHEL7
12c on RHEL712c on RHEL7
12c on RHEL7
 
Oracle EBS R12.1.3_Installation_linux(64bit)_Pan_Tian
Oracle EBS R12.1.3_Installation_linux(64bit)_Pan_TianOracle EBS R12.1.3_Installation_linux(64bit)_Pan_Tian
Oracle EBS R12.1.3_Installation_linux(64bit)_Pan_Tian
 
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linuxInstalling 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
 
Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guide
 
Oracle obiee-11-installation-guide 11.1.1.6.0
Oracle obiee-11-installation-guide 11.1.1.6.0Oracle obiee-11-installation-guide 11.1.1.6.0
Oracle obiee-11-installation-guide 11.1.1.6.0
 
From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
From single MySQL instance to High Availability: the journey to MySQL InnoDB ...From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
From single MySQL instance to High Availability: the journey to MySQL InnoDB ...
 
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
 
Php mysql-tutorial-en
Php mysql-tutorial-enPhp mysql-tutorial-en
Php mysql-tutorial-en
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseOracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create Database
 
Oracle WebLogic
Oracle WebLogicOracle WebLogic
Oracle WebLogic
 
12c installation
12c installation12c installation
12c installation
 
MariaDB10.7_install_Ubuntu.docx
MariaDB10.7_install_Ubuntu.docxMariaDB10.7_install_Ubuntu.docx
MariaDB10.7_install_Ubuntu.docx
 
Oracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_SovannOracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_Sovann
 
Mysql ppt
Mysql pptMysql ppt
Mysql ppt
 

More from Osama Mustafa

More from Osama Mustafa (20)

Case study for software architect
Case study for software architectCase study for software architect
Case study for software architect
 
DevOps for database
DevOps for databaseDevOps for database
DevOps for database
 
Does cloud mean the end of the dba
Does cloud mean the end of the dbaDoes cloud mean the end of the dba
Does cloud mean the end of the dba
 
Using git hub for your code
Using git hub for your codeUsing git hub for your code
Using git hub for your code
 
DevOps Project
DevOps Project DevOps Project
DevOps Project
 
Java business service
Java business serviceJava business service
Java business service
 
Steps creating data_integration_services
Steps creating data_integration_servicesSteps creating data_integration_services
Steps creating data_integration_services
 
Build, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using DockerBuild, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using Docker
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single node
 
Helping implementer dealing with famous siebel based system messages and er...
Helping implementer dealing with famous siebel   based system messages and er...Helping implementer dealing with famous siebel   based system messages and er...
Helping implementer dealing with famous siebel based system messages and er...
 
Weblogic and docker
Weblogic and dockerWeblogic and docker
Weblogic and docker
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
Ebs clone r12.2.4
Ebs clone r12.2.4Ebs clone r12.2.4
Ebs clone r12.2.4
 
Oracle obia 11.1.1.10.1 installation
Oracle obia 11.1.1.10.1 installation Oracle obia 11.1.1.10.1 installation
Oracle obia 11.1.1.10.1 installation
 
Oracle Enterprise manager 13c Installation
Oracle Enterprise manager 13c InstallationOracle Enterprise manager 13c Installation
Oracle Enterprise manager 13c Installation
 
Erp installation r12.2
Erp installation r12.2Erp installation r12.2
Erp installation r12.2
 
OBIA Installation
OBIA Installation OBIA Installation
OBIA Installation
 
Upgrade EBS DB from 11g to 12c.
Upgrade EBS DB from 11g to 12c.Upgrade EBS DB from 11g to 12c.
Upgrade EBS DB from 11g to 12c.
 
Eouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafaEouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafa
 
Install oracle siebel on windows 2008 r2
Install oracle siebel on windows 2008 r2Install oracle siebel on windows 2008 r2
Install oracle siebel on windows 2008 r2
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 

Steps to Create odbc connection linux

  • 1. Create ODBC Connection in Linux 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 Operating system: Oracle Linux 6.4 Database version: 11.2.0.4 Thank you for Ilmar Kerm to mention Oracle Instant 
  • 2. Create ODBC Connection in Linux About the Author 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.
  • 3. Create ODBC Connection in Linux 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
  • 4. Create ODBC Connection in Linux Copy the Both Package & Zip file to Server using winscp Software. [OPTIONAL] This Step if you don’t 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/ Copy it the Server [root@OEL6 u01]# gunzip unixODBC-2.3.2.tar.gz [root@OEL6 u01]# tar unixODBC-2.3.2.tar 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, Don’t Change the Directory
  • 5. Create ODBC Connection in Linux [root@OEL6 unixODBC-2.3.2]# make [root@OEL6 unixODBC-2.3.2]# make install The Above two Steps Will take some time please wait. Now you are installed Driver Manager Check /u01/app/ODBC, you should be able to see the below files: drwxr-xr-x. 3 root root 4096 Dec 17 00:26 share drwxr-xr-x. 2 root root 4096 Dec 17 00:26 include drwxr-xr-x. 2 root root 4096 Dec 17 00:26 bin drwxr-xr-x. 3 root root 4096 Dec 17 00:56 etc drwxr-xr-x. 2 root root 4096 Dec 17 01:37 lib 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%] [root@OEL6 u01]# rpm -ivh oracle-instantclient11.2-odbc-11.2.0.4.0-1.x86_64.rpm Preparing... ########################################### [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 
  • 6. Create ODBC Connection in Linux Now Driver , and ODBC installed But need to be configured on the server [root@OEL6 ODBC]# cd /u01/ODBC/etc/ [root@OEL6 etc]# ls total 12 drwxr-xr-x. 2 root root 4096 Dec 17 00:26 ODBCDataSources -rw-r--r--. 1 root root 89 Dec 17 00:56 odbc.ini -rw-r--r--. 1 root root 375 Dec 17 01:51 odbcinst.ini Using any Editor Open odbcinst.ini by default it will look like this : [Oracle 11g ODBC driver] Description = Oracle ODBC driver for Oracle 11g Driver = /u01/instantclient_11_2/libsqora.so.11.1 Setup = FileUsage = CPTimeout = CPReuse = Copy it and paste in the same the same file [TEST] Description Driver Setup FileUsage CPTimeout CPReuse = TEST ODBC = /u01/instantclient_11_2/libsqora.so.11.1 = =1 =5 =5 Save it and exist. Now on the same folder etc you will find odbc.ini , with any editor open it and add the below tags : [TS] Description = "TEST" Driver = TEST  should be same as Driver Above. Server = SERVER  Database Server IP Port = 1433  Port for Listener Database = DBNAME  Using show parameter name. To Test ODBC: [root@OEL6 lib]# cd /u01/ODBC/bin/ [root@OEL6 bin]# ./isql -v [ODBC_NAME] Username password