使用PL/SQL Developer连接Oracle 12.2连接时,发现报ORA-28040 No matching authentication protocol
赶紧查了查MOS,原来在默认情况下Oracle12.2对客户端版本有限制,
解决方法:升级Oracle客户端或者修改sqlnet.ora中的以下两个参数控制:
SQLNET.ALLOWED_LOGON_VERSION_SERVER=10
SQLNET.ALLOWED_LOGON_VERSION_CLIENT=10
select username, account_status, default_tablespace, created, password_versions from dba_users;
USERNAME ACCOUNT_STATUS DEFAULT_TABLESPACE CREATED PASSWORD_VERSIONS --------------- ---------------------------------------------------------------- ------------------------------------------------------------ ------------ ---------------------------------- SYS OPEN SYSTEM 26-JAN-17 10G 11G 12C SYSTEM OPEN SYSTEM 26-JAN-17 10G 11G 12C
password_versions表明当前用户口令的认证方式。