EXP-00056: 遇到 ORACLE 错误 12560ORA-12560: TNS: 协议适配器错误EXP-00000: 导出终止失败在dos下sqlplus userid/passwd 提示错误
ERROR:ORA-12560: TNS: 协议适配器错误请输入用户名:即使用户名和密码都输入正确了也还是提示错误
刚开始没有安装client的时候用exp导出,imp导入都很正常,监听和实例都起来了,注册表的信息如图
环境变量PATH=G:\oracle\product\10.2.0\client_1\bin;G:\app\eternally\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;c:\windows\system32;E:\Program Files (x86)\9158KTV\9158VirtualCamera\bin
ORA-12560: TNS: 协议适配器错误的解决方法。
方法/步骤
用exp.exe imp.exe可以实现导入导出
追答那这个应该是环境变量出问题了,系统用楼上话说就是系统迷路了
设置了环境标量后在dos下sqlplus,又提示Error 14 initializing SQL*Plus
Message file sp1.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory