Install and configure Oracle Instant Client (Instant Client)

Source: Internet
Author: User

Install and configure Oracle Instant Client (Instant Client)

1. Download

: Http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

This is the homepage for downloading Oracle Instant Client. There are many versions available for downloading.

However, note that third-party tools such as PL/SQL Developer and Toad must correspond to 32-bit OracleInstant Client. Do not download 64-bit tools because the system is 64-bit, note This.

Resources used in this article: Oracle instant client 32-bit (Green Edition) perfectly supports win7 64-bit System

: Http://download.csdn.net/detail/xuyongbeijing2008/9044301

Ii. Configuration

Decompress the downloaded instantclient-basic-nt-11.2.0.2.0.zip package and place it in the C: \ instantclient_11_2 directory.

Add:

ORACLE_HOME = C: \ Oracle \ instantclient_10_2TNS_ADMIN = C: \ Oracle \ instantclient_10_2NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK

Modify the Path variable and add C: \ Oracle \ instantclient_10_2

 

3. Create a tnsnames. ora File

Create a new tnsnames. ora file in C: \ instantclient_11_2 and add your own database alias configuration.

Example:

 

ORCL =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 172.117.164.152)
(PORT = 1521)
)
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = VPSADDB)
)
)

 

Note that the format should be arranged

This parameter is changed to the alias above. Host is the IP address, and SERVICE_NAME is the Instance name of the database server.

 

Iv. Uninstall Methods

In "system variables" in "environment variables:

Delete ORACLE_HOME, TNS_ADMIN, and NLS_LANG, modify the path variable, and delete the C: \ Oracle \ instantclient_10_2 directory C: \ Oracle \ instantclient_10_2.

 

V. Use of third-party tools

After configuring any of the above clients, you can install Toad or PL/SQL Developer. You can use it without any additional settings.

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.