SP2-0642: SQL*Plus internal error state 2130, context 0:0:0 Unsafe to proceed

从10.2.0.1版本客户端通过EZCONNECT连接一套RAC环境时报错:

SQL> conn system/xxxx@10.199.87.122:1521/gpp
SP2-0642: SQL*Plus internal error state 2130, context 0:0:0
Unsafe to proceed

这个错误是因为BUG:8599395

EZCONNECT Connections Error with SP2-0642: Sql*Plus Internal Error State 2130 [ID 855965.1]


解决方法很简单,不要加1521端口号,或者使用11.2版本以上的客户端

SQL> conn system/xxxx@10.199.87.119/gpp
Connected.

Bug is fixed from release 11.2 onwards.
Check for one off patches for your release / platform via Patch 6135152
Workaround, do not use the port number in the connection string. Port 1521 is the default.

[@more@]
请使用浏览器的分享功能分享到微信等