[email protected] rman $ cd /u01/app/oracle/product/19.3.0/db 1/netwo...">

当前位置:网站首页>Oracle 12c升级至19c后ORA-28000错误

Oracle 12c升级至19c后ORA-28000错误

2022-06-24 08:17:00 徽州吴彦祖

Oracle 12c升级至19c后,客户端连接不上数据库,需要在sqlnet.ora文件中添加SQLNET.ALLOWED_LOGON_VERSION_SERVER=8参数

[[email protected] rman]$ cd /u01/app/oracle/product/19.3.0/db_1/network/admin/
[[email protected] admin]$ cat sqlnet.ora
SQLNET.ALLOWED_LOGON_VERSION_SERVER=8

添加完参数,客户端连接显示账号被锁定,或者账号密码错误
在这里插入图片描述
解决方法:
需要手工重置一下用户密码,获取用户的账号密码SQL语句为:

SQL> select 'alter user '||name||' identified by values'''||password||''' default tablespace users temporary tablespace temp;' from user$ where name in (select username from dba_users where account_status='OPEN');

原网站

版权声明
本文为[徽州吴彦祖]所创,转载请带上原文链接,感谢
https://blog.csdn.net/m0_37625564/article/details/121868201