Remotely connect to oracle10 through sqlpuls

Source: Internet
Author: User

1. Configure the name of the remote connection service 

Open E: oracleproduct10.2.0db _ 1NETWORKADMINnsnames. ora and add the service name. 

Service name = 
(DESCRIPTION = 
(ADDRESS_LIST = 
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.232.2) (PORT = 1521 )) 

(CONNECT_DATA = 
(SERVICE_NAME = Global Database Name) -- Also available SID = database SID 



2. Remote Logon 
Sqlplus username/password @ service name 


Note: 

By default, tnsnames. ora has the following content: 
EXTPROC_CONNECTION_DATA = 
(DESCRIPTION = 
(ADDRESS_LIST = 
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC0 )) 

(CONNECT_DATA = 
(SID = PLSExtProc) 
(PRESENTATION = RO) 


This is mainly used to call external processes. For example, you need to set EXTPROC_CONNECTION_DATA when using full-text search. 
(Extproc_connection_data is a special service name that is used for external procedures) 
Correspondingly, listener. ora has similar content. 

During remote connection configuration, the above default configuration in tnsnames. ora I tested should be removed. Otherwise, the database that is next to the above default configuration will not be connected. The specific reason is not found 

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.