PL/SQL Configure the Oracle client to log in to the remote database configuration

Source: Internet
Author: User

The Oracle database is not installed locally, but you want to use PL/SQL to connect to the server-side database.

1. Create a new network folder, under which you create a new admin folder under which to create a new Tnsnames.ora file (copy the contents of the following file as modified according to your database IP Port instance name)

Modify files under the Network\admin folder: Database IP and DB instance name in Tnsnames.ora (red part, modify port if necessary, colleagues need to be aware of DB instance name)

# Tnsnames.ora Network Configuration file:d:\develop\oracle11g\product\11.2.0\dbhome_1\network\admin\tnsnames.ora# Generated by Oracle configuration tools. LISTENER_ORCL=(ADDRESS= (PROTOCOL = TCP) (HOST =192.168.30.152) (PORT =1521)) Oraclr_connection_data=(DESCRIPTION=(Address_list=(ADDRESS= (PROTOCOL = IPC) (KEY =EXTPROC1521)) ) (Connect_data=(SID=Clrextproc) (PRESENTATION=RO)) ) ORCL=(DESCRIPTION=(ADDRESS= (PROTOCOL = TCP) (HOST =192.168.30.152) (PORT =1521)) (Connect_data=(SERVER=dedicated) (Service_Name= ORCL)) )

2. Copy the network folder to the Instantclient_11_2 folder

3. Copy the Instantclient_11_2 folder directly to the PL/SQL installation directory

4. Open PL/SQL, set the "Tools" > "preferences" in PL/SQL at >1,2 two:

5. "OK" to restart PL/SQL login.

Attention:

1. The client version and the computer version need to correspond

2.ip, port, instance name

3. The path does not contain Chinese

Thanks: Plsql developer installation, Tnsnames.ora configuration solution

PL/SQL Configure the Oracle client to log in to the remote database 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.