Configure and use the oracle11g client (InstantClient)

Source: Internet
Author: User

In the previous chapter, we used the common method to configure the client. Is there a green version of the client?

The official Oracle answer is: Instant Client.

First, go to the homepage of this product and select the Windows 32-bit version.

Select the database version 11.2 (V11.2.4.0)

Preparations:

(1) Microsoft Visual C ++ 2005 Redistributable Package (x86)

Default usage

(2) Microsoft Visual C ++ 2008 Redistributable Package (x86)

Copy the files in vc9 to the upper-level directory (instantclient_11_2)

Decompress the downloaded instantclient-basic-nt-11.2.0.4.0.zip file D: \ Program Files \ instantclient_11_2 (you can select your own directory)

(1) Add the TNS_ADMIN environment variable

TNS_ADMIN = D: \ Program Files \ instantclient_11_2

(2) Add TNS_ADMIN to the Path variable

(3) Place the tnsnames. ora file in the TNS_ADMIN directory (D: \ Program Files \ instantclient_11_2.

Tnsnames. ora

# tnsnames.ora Network Configuration File# Generated by Oracle configuration tools.ORACLR_CONNECTION_DATA =  (DESCRIPTION =    (ADDRESS_LIST =      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))    )    (CONNECT_DATA =      (SID = CLRExtProc)      (PRESENTATION = RO)    )  )ORCL =  (DESCRIPTION =    (ADDRESS_LIST =      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.106)(PORT = 1521))    )    (CONNECT_DATA =      (SERVICE_NAME = orcl)    )  )
* 1: HOST = 192.168.1.106

Based on the IP address of the data

* 2: SERVICE_NAME = orcl

Enter according to the database you want to connect

2. PL/SQL Developer settings

(1) OCI Database

Go to Preferences, click the "OCI Library" drop-down box, and select the options provided. (After setting the system variables, the options are automatically added)

For subsequent operations, refer to the previous blog titled oracle11g client configuration and use (Windows)

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.