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

Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
Simon Huang
 

What's hot (20)

Oracle Instance 介紹
Oracle Instance 介紹Oracle Instance 介紹
Oracle Instance 介紹
 
Oracle Tablespace介紹
Oracle Tablespace介紹Oracle Tablespace介紹
Oracle Tablespace介紹
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Oracle管理藝術第1章 在Linux作業體統安裝Oracle 11g
Oracle管理藝術第1章 在Linux作業體統安裝Oracle 11gOracle管理藝術第1章 在Linux作業體統安裝Oracle 11g
Oracle管理藝術第1章 在Linux作業體統安裝Oracle 11g
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
Weblogic 12c installation (oracle linux)
Weblogic 12c installation (oracle linux)Weblogic 12c installation (oracle linux)
Weblogic 12c installation (oracle linux)
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
Oracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSOracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTS
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle 表格介紹
Oracle 表格介紹Oracle 表格介紹
Oracle 表格介紹
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
Getting optimal performance from oracle e-business suite presentation
Getting optimal performance from oracle e-business suite presentationGetting optimal performance from oracle e-business suite presentation
Getting optimal performance from oracle e-business suite presentation
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Reading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the GoalReading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the Goal
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
 
Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
 

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

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

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