打開sqlplus報12560錯誤。
如果是之前好好的,突然當出現這種情況的。
第一:查看服務有沒有啓動。
第二:是不是有新裝客戶端。
一般這種情況,是系統path路徑修改了,當你新安裝客戶端的時候就會自動添加路徑到系統path裏面,而打開sqlplus的時候只會找第一個oracle路徑。
解決辦法:將home路徑放在第一位。
舊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