Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configuration tutorial for pl/sql connecting to a remote oracle server

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article shares the configuration tutorial of pl/sql connecting to a remote oracle server. The details are as follows.

Method 1:

Open all programs-> find oracle-oradb11g-home1- > Net Configuration Assistant

To configure the local network service name, click next.

Select add and click next

Fill in the service name (note database name) and click next

Choose the communication protocol: TCP, next step

Enter the host name where the database is located (it can also be an IP address), select the port number (usually the standard port number according to the port number of the host where the database is located), click next, select test, and click next.

Ok, it's over. Configuration complete!

Method 2:

A) find the directory where oracle is installed. For example: d:\ app\ admin\ product\ 11.2.0\ dbhome_1\ NETWORK\ ADMIN

B) find the tnsnames.ora file

C) Open it in text and add the following:

Local instance name = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = remote database IP address) (PORT = remote server port number) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = remote database service name)))

The Chinese part is the part that needs to be modified. In addition to the first "local instance name", you need to consult the remote database administrator. The local instance name is a name that makes it easy for you to identify the database and can be customized.

D) then open pl/sql to see the link you created

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report