事件背景
最近数据库全有oracle11g升级到oracle12C后,遇到了不小的问题
升级后应用的报错ORA-28040: No matching authentication protocol
ORA-28040: No matching authentication protocol
服务端是Oracle12C
客户端低于服务端版本
官方给出的错误
ORA-28040: No matching authentication protocol
Cause: No acceptible authentication protocol for both client and server
Action: Administrator should set SQLNET_ALLOWED_LOGON_VERSION parameter on both client and servers to values that matches the minimum version supported in the system.
给出的解决办法是:
操作:管理员应将客户端和服务器上的SQLNET_ALLOWED_LOGON_VERSION参数设置为与系统中支持的最低版本匹配的值
解决过程
1.在$TNS_ADMIN下新建sqlnet.ora(若已存在,直接写入或更改)
SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8