Remotely connect Oracle with PL/SQL

Source: Internet
Author: User

1. Remote connection Oracle does not need to open Oracle Services, can be managed in the service, save a bit of resources

2. Modify the tnsnames.ora file in the Oracle directory my directory is: D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\ Tnsnames.ora

Last side add:

Ora =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST =115.238.***.***) (PORT = 1521))
(Connect_data =
(SERVER = dedicated)
(service_name = * *)
)
)

Ora is the instance name of the remote databaseprotocol is the Protocol of the Connectionhost is the Ipdizhi of the remote databaseProt Port3. reopen Plsql in the database selection, click the drop-down menu, select the Ora input tablespace user name and password, you can connect. legends can be connected using Oracle Client tools. Note Connection as

Remotely connect Oracle with PL/SQL

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.