ORA-12560: TNS: 协议适配器错误
来源:互联网 发布:淘宝直通车最低多少钱 编辑:程序博客网 时间:2024/06/15 12:08
C:\Users\Administrator>set oracle_sid=lmishljC:\Users\Administrator>sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on 星期四 8月 17 11:12:58 2017Copyright (c) 1982, 2011, Oracle. All rights reserved.ERROR:ORA-12560: TNS: 协议适配器错误请输入用户名:
现像:数据库正常,实例正常,listener正常,数据库参数也是正常。就是不能sqlplus / as sysdba登录数据库
解决办法:
参考:http://blog.csdn.net/tan_yixiu/article/details/6762357
将环境变量中的Patch 发现 开发人员配置环境变量与以上很类似
D:\app\ODAC32\product\11.2.0\dbhome_1;D:\app\ODAC32\product\11.2.0\dbhome_1\bin;D:\app\ODAC64;D:\app\ODAC64\bin;D:\app\app\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;D:\app\app\product\11.2.0\dbhome_1\OPatch
改为
D:\app\app\product\11.2.0\dbhome_1\bin;D:\app\app\product\11.2.0\dbhome_1\OPatch;D:\app\ODAC32\product\11.2.0\dbhome_1;D:\app\ODAC32\product\11.2.0\dbhome_1\bin;D:\app\ODAC64;D:\app\ODAC64\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\C:\Users\Administrator>set oracle_sid=lmiscqtest
发现登录正常!!!!
C:\Users\Administrator>sqlplus / as sysdbaSQL*Plus: Release 11.2.0.4.0 Production on 星期四 8月 17 11:53:23 2017Copyright (c) 1982, 2013, Oracle. All rights reserved.连接到:Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSYS@lmiscqtest> Exit
阅读全文
0 0
- ORA-12560: TNS: 协议适配器错误
- ORA-12560: TNS:协议适配器错误 解决方案
- 解决ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- ORA-12560: TNS: 协议适配器错误解决
- 解决ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560 TNS 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- 解决ORA-12560: TNS: 协议适配器错误
- ORA-12560: TNS: 协议适配器错误
- ORA-12560:TNS:协议适配器错误
- ORA-12560: TNS: 协议适配器错误
- 51 nod 1672 区间交(枚举 贪心)
- Oracle数据库SQL常用语句
- 纪念王盘声逝世一周年王派演唱会成功举行
- 我必须得告诉大家的MySQL优化原理
- Leetcode647. 计算回文子字符串数目
- ORA-12560: TNS: 协议适配器错误
- android基础 联网
- php往pdf中加数字签名
- 英文电子书下载:salttiger.com
- 每天一个linux命令(3):pwd命令
- spoj 375 QTREE
- linux 安装redis
- 系统可用性分析方法与设计模板
- hashMap底层put和get方法逻辑