How to connect PLSQL Developer to remote Oracle (non-installation client)

Source: Internet
Author: User

Remote connection to Oracle is troublesome. It usually takes the oracle client to be installed. You can use instantclient to easily connect to a remote Oracle database.

 

1. Create a Directory D: \ Oracle_Cleint to store related files. Create a Directory D: \ Oracle_Cleint \ NETWORK \ ADMIN to store tnsnames files.
2. Download the corresponding version and the system's instantclient compressed package, decompress the package to obtain the instantclient folder, and place the content in the folder under D: \ Oracle_Cleint.

Oracle11GR2 instantclient file: http://pan.baidu.com/s/13YKtK
3. Obtain the tnsnames. ora file in/home/app/oracle/product/11.2.0/dbhome_1/network/admin.
4. Modify the tnsnames. ora file as follows:

# tnsnames.ora Network Configuration File: /home/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora# Generated by Oracle configuration tools.ORCL =(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = Oracle)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = orcl)))

Modify the preceding Oracle IP address.
5. Place the modified tnsnames. ora file in the D: \ Oracle_Cleint \ NETWORK \ ADMIN directory.
6. set environment variables (my computer-> right-click "properties"-> advanced-> environment variables-> User variables) to create a new user variable named NLS_LANG. The variable value is SIMPLIFIED CHINESE_CHINA.ZHS16GBK.
7. Configure PLSQL Developer, tools → preferences → Oracle → connection. Enter "D: \ Oracle_Cleint \" in the Oracle main directory \
Enter the OCI Library: D: \ Oracle_Cleint \ oci. dll

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.