Install and configure the Oracle instance Client

Source: Internet
Author: User

Environment Description:

The oracle11gr2 database is installed on the Virtual Machine (centos5.5 64bit). The database name is orcl and the user is test. Virtual Machine IP Address
192.168.128.101

No database is installed on the Physical Machine (64-bit in Windows 7). The physical machine can ping the virtual machine, and PL/SQL has been installed.
Developer 9.0 (32bit)

Medium: instantclient-basic-win32-11.2.0.1.0.zip.

Objectives:

PL/SQL connects to the database orcl on the virtual machine through the instance Client

 

 

Implementation steps:

Decompress the instance client to disk D and go to its main directory to create the Directory D: \ instantclient_11_2 \ Network \ admin \ tnsnames. ora and files.

Tnsnames. enter the content of the ora file as tnsnames obtained from Oracle Data. ora file (this file is placed in $ oracle_hoem \ Network \ ADMIN). You need to change the host name to the IP address of the host.

Tnsname content example:

Orcl =

(Description =

(Address = (Protocol = TCP) (host = 192.168.128.101) (Port = 1521 ))

(CONNECT_DATA =

(Server = dedicated)

(SERVICE_NAME = orcl.101)

)

)

Do not log on to start PLSQL, and fill in the content in the tool's preference connection.

Save the changes and exit.

To ensure that the database and listener on the virtual machine are enabled, You can restart PLSQL.

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.