Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution of Windows server 2008 R2 (win7) login sqlplus error ORA-12560 and ORA-12557

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Windows server 2008 R2 (win7) login sqlplus error: ORA-12560 and ORA-12557. The error screenshot is as follows:

The problem scenario describes that the 1:Windows system only installs oracle11g and does not install client. At this time, you cannot log in to sqlplus in cmd.

Solution:

(1) check whether the registry contains ORACLE_SID=xxxx (xxxx represents the instance name, and the default is orcl for general installation), ORACLE_HOME=E:\ oracle\ product\ 11.2.0\ dbhome_1

(note: e:\ oracle\ product\ 11.2.0\ dbhome_1 is the oracle installation directory)

(2) check whether the listening is enabled, and whether the oracleservicexxxx (xxxx stands for instance name. The default for general installation is orcl) service is started. If it is not started, start it.

Problem scenario description 2:Windows system installs oracle11g and client client is installed, and cmd cannot log in to sqlplus at this time.

Solution:

(1) check whether the registry contains ORACLE_SID=xxxx (xxxx represents the instance name, and the default is orcl for general installation), ORACLE_HOME=E:\ oracle\ product\ 11.2.0\ dbhome_1

(note: e:\ oracle\ product\ 11.2.0\ dbhome_1 is the oracle installation directory)

(2) check whether the listening is enabled, and whether the oracleservicexxxx (xxxx stands for instance name. The default for general installation is orcl) service is started. If it is not started, start it.

(3) check the value of the environment variable PATH: see if the oracle installation directory bin precedes the client installation directory bin. As shown below:

Tip: variables are very important in the system. It is recommended to save the values of path variables in a text file before modifying them.

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report