Analysis of how to configure the monitor in Tnsnames.ora

Source: Internet
Author: User
Tags port number
The following is a detailed analysis of how to configure the monitor in the Tnsnames.ora, the need for friends can come to the reference

Tnsnames.ora Location: D:installedoracleproduct11.1.0db_1networkadmintnsnames.ora that is to say, in product

You can log in to the database only after you have configured the listener

Copy Code code as follows:
TOTO =
(DESCRIPTION =
(address = (PROTOCOL = TCP) (HOST = here is IP) (PORT = 1521))
(Connect_data =
(SERVER = SHARED)
(service_name = Toto)
)
)


Where host represents the IP address of the machine to be accessed, port is the port number. SERVICE_NAME corresponds to the database name.

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.