Oracle 11g Ora-12514:tns: The listener does not currently recognize the requested service in the connection descriptor

Source: Internet
Author: User

Create a database test

1. Open the Oracle Net Manager

2. Service Naming: Test

TCPIP Host: 127.0.0.1 Port: 1521

3. Listening programs

Select a listening location

Network address: localhost

Port: 1521

Select Database Service

Global database name Sid:test

4. Stop the monitoring service to start the monitoring service

# Listener.ora Network Configuration file:e:\app\administrator\product\11.1.0\db_1\network\admin\listener.ora# Generated by Oracle configuration tools. Sid_list_listener =  (sid_list = (    Sid_desc =      (global_dbname = Test) (      sid_name = test)    )    (sid_ DESC =      (global_dbname = NBS)      (sid_name = NBS)    )  ) LISTENER =  (DESCRIPTION = (    ADDRESS = ( PROTOCOL = TCP) (HOST = localhost) (PORT = 1521))  

2 Database Services A test, a NBS, a public listener

# Tnsnames.ora Network Configuration file:e:\app\administrator\product\11.1.0\db_1\network\admin\tnsnames.ora# Generated by Oracle configuration tools.test=  (DESCRIPTION = (    address_list = (      ADDRESS = (PROTOCOL = TCP) ( HOST = 127.0.0.1) (PORT = 1521))    (connect_data =      (SERVER = dedicated)      (service_name = Test  )) NBS =  (DESCRIPTION = (    address_list = (      ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1) (PORT = 1521))    ) 
     (Connect_data =      (SERVER = dedicated)      (service_name = NBS)    )  )

Oracle 11g Ora-12514:tns: The listener does not currently recognize the requested service in the connection descriptor

Related Article

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.