Plsql Database Configuration and use

Source: Internet
Author: User

Database Configuration Method Two (do not install Oracle, use the Instantclient tool to configure the connection to Oracle)

Instant client is an Instant installation tool that connects to Oracle.

Configure The Tnsnames.ora file for the instant client , add the database host, port number, and so on:

Example:

MyDB =//Database name
(DESCRIPTION =
(Address_list =
(address = (PROTOCOL = TCP) (HOST = 172.10.1.16) (port = 1521))//server address and port number
)
(Connect_data =

(SERVER = dedicated)

(SID = ABC02)//service Name
)
)

Main change = previous alias, host is IP address, service_name is the instance name of the database server.

1.SID: A database can have multiple instances (such as RAC), and the SID is the name of the instance used for inter-internal salutation.
2.service_name: Is the name of the database as a foreign address.

After configuring the Tnsnames.ora file, open the Plsql, enter the user name password, Select the database, connect select Normal, you can use.

Plsql Database Configuration and use

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.