打开sqlplus报12560错误。
如果是之前好好的,突然当出现这种情况的。
第一:查看服务有没有启动。
第二:是不是有新装客户端。
一般这种情况,是系统path路径修改了,当你新安装客户端的时候就会自动添加路径到系统path里面,而打开sqlplus的时候只会找第一个oracle路径。
解决办法:将home路径放在第一位。
旧path路径:
F:\app\Administrator\product\11.2.0\client_1\bin;d:\app\Administrator\product\11.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;E:\app\Administrator\product\11.2.0\dbhome_1\bin;E:\Program Files\TortoiseSVN\bin;d:\Program Files (x86)\Sybase\SQL Anywhere 8\win32;d:\Program Files (x86)\Sybase\Shared\win32;d:\Program Files (x86)\Sybase\Shared\Sybase Central 4.1;d:\Program Files (x86)\Sybase\PowerDynamo\win32
新path路径:
新path路径:
E:\app\Administrator\product\11.2.0\dbhome_1\bin;F:\app\Administrator\product\11.2.0\client_1\bin;d:\app\Administrator\product\11.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;E:\Program Files\TortoiseSVN\bin;d:\Program Files (x86)\Sybase\SQL Anywhere 8\win32;d:\Program Files (x86)\Sybase\Shared\win32;d:\Program Files (x86)\Sybase\Shared\Sybase Central 4.1;d:\Program Files (x86)\Sybase\PowerDynamo\win32