Oracle 11g ODBC connection string and configuration

Source: Internet
Author: User
Tags odbc connection rar

First install ha-instant Client-v11.2.0.3.0-x86.rar

Ftp://hhdown:[email Protected]/download/ha-instant%20client-v11.2.0.3.0-x86.rar

Ftp://hhdown:[email Protected]/download/ha-instant%20client-v11.2.0.3.0-x64.rar

Then perform the installation of ODBC a must choose to install

Add environment variable: Tns_admin value:%oracleclient%/network/admin

Modify Tnsnames.ora to add the server information that needs to be connected,

Note the service_name in Connect_data must be added to ensure normal connection

Network/admin/tnsnames.ora

ORCL =
(DESCRIPTION =
(Address_list =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.109) (PORT = 1521))
)
(Connect_data =
(service_name = ORCL)
)
)


Oracle ODBC Connection string Driver={oracle 11g ODBC DRIVER};UID=SYSTEM;PWD=MANAGER;DATABASE=ORCL; servername=192.168.2.75; Port=1521;dbq=orcl
Dbq:tns Service Name


Windows:

1. Configuring a good service (Oracle Net Manager)

2. Start monitoring

3. Start the configured service

4. The application uses this connection string DRIVER={***};UID=SYSTEM;PWD=MANAGER;DATABASE=ORCL; servername=192.168.0.109; port=1521;

* * * In the connection string above by looking up the name of the Oracle driver in Odbcad32

Oracle 11g ODBC connection string and configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.