Using the easy connect naming method simple connection test, connectnaming

Source: Internet
Author: User

Using the easy connect naming method simple connection test, connectnaming
I have never understood what NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT) in sqlnet. ora means. Today I see a document about how to log on to and perform a test:
Tnsnames. ora
10.10.32.119 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.32.119) (PORT = 1521 ))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl11g)
)
)

Sqlnet. ora
NAMES. DIRECTORY_PATH = (TNSNAMES)
C: \ Users \ Administrator> sqlplus test/test@10.10.32.119

SQL * Plus: Release 11.2.0.1.0 Production on Tuesday June 2 18:50:57 2015
Copyright (c) 1982,201 0, Oracle. All rights reserved.
Connect:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options disconnected

C: \ Users \ Administrator> sqlplus test/test@10.10.32.119/orcl11g
SQL * Plus: Release 11.2.0.1.0 Production on Tuesday June 2 18:55:06 2015
Copyright (c) 1982,201 0, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS: Unable to parse the specified connection identifier
Enter the User Name:

Sqlnet. ora
NAMES. DIRECTORY_PATH = (TNSNAMES)

C: \ Users \ Administrator> sqlplus test/test@10.10.32.119
SQL * Plus: Release 11.2.0.1.0 Production on Tuesday June 2 18:56:47 2015
Copyright (c) 1982,201 0, Oracle. All rights reserved.
ERROR:
ORA-12504: TNS: Listener does not get SERVICE_NAME in CONNECT_DATA
Enter the User Name:

C: \ Users \ Administrator> sqlplus test/test@10.10.32.119/orcl11g
SQL * Plus: Release 11.2.0.1.0 Production on Tuesday June 2 18:57:03 2015
Copyright (c) 1982,201 0, Oracle. All rights reserved.
Connect:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options



Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.