Methods of Pl/sql tools to connect Oralce databases
Source: Internet
Author: User
Data | Database 1, leveraging Oracle NET Manager tools
1 Open ORACLE NET MANAGER
2) Increase "service naming"
First step NET service name: arbitrary fill
Second protocol: If Oracle is connected to a remote machine, select TCP/IP (Internet Protocol)
Third Step host Name: Enter the IP address port number: The default is typically 1521
Step Fourth SID: General and database names are the same
Fifth Step Test
3) Start Pl/sql connection
2, directly modify the configuration file:
1 Open Directory D:\oracle \ora92\network\admin file Tnsnames.ora in the installation directory.
2) Add the following code:
traffic_db = #NET服务名, free to start
(DESCRIPTION =
(Address_list =
(address = (PROTOCOL = TCP) (HOST = 192.168.1.143) (port = 1521)) #HOST for the IP addresses of the connected database servers, port is the end number of the connected database server, typically the default is 1521
)
(Connect_data =
(SID = Carsys) #数据库系统标识, typically with the same name as the database
)
)
3) Save the file. Start the Pl/sql tool to log in.
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