1. listening service did not play together. one-windows platform as follows: Start - Programs - Administrative Tools - Services to open the Services panel, start OracleOraDb11g_home1TNSListener service.
2.database instance did not play together. windows platform as follows: Start - Programs - Administrative Tools - Services to open the Services panel, start oracleserviceXXXX, XXXX is your SID Database
3. registry problems. regedit, and then enter the HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE \ HOME0 the environment variable ORACLE_SID to XXXX, XXXX is your database SID or right a few My Computer, Properties - Advanced - Environment Variables - System Variables - New, variable name = oracle_sid variable values = XXXX, XXXX is your database SID. before entering sqlplus Alternatively, the input set oracle_sid = XXXX in the command line, XXXX is your database SID.
Generally newly installed database service are what are automatically open, the problem is probably registry problems, it is recommended first check the registry, landlord of the problem is to create a database when cheap hand the sid changed orcl, sid modify the registry value is orcl on OK
----------------
Disclaimer: This article is CSDN blogger "hello_zhou 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. .
Original link: https: //blog.csdn.net/hello_zhou/article/details/52140947