Solution to ORA-12560: TNS: protocol adapter errors

Source: Internet
Author: User

Solution to ORA-12560: TNS: protocol adapter errors
There are three reasons for the problem that caused the ORA-12560: TNS: protocol adapter error:


1. The listening service is not started. On the windows platform, perform the following operations: start --- program --- management tools --- Service, open the service panel, and start the oraclehome92TNSlistener service.

2. The database instance is not started. On windows, perform the following operations: start --- program --- management tools --- Service, open the service panel, start oracleserviceXXXX, and XXXX is your database SID.

3. Registry issues. Regedit, and enter HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE \ HOME0 to set the environment variable ORACLE_SID to XXXX. XXXX is your database SID. or right-click my computer, and choose "property"> "advanced"> "environment variable"> "system variable"> "new ".
, Variable name = oracle_sid, variable value = XXXX, XXXX is your database SID. Or before entering sqlplus, enter set oracle_sid = XXXX under command line, XXXX is your database SID.

After the above steps, you can solve the problem.

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.