ORA-28001: the password has expired解决方法

原文地址:https://blog.csdn.net/btt2013/article/details/54862420

 

后台报ORA-28001: the password has expired 密码超时

登录数据库服务器(或者使用cmd),

1.使用 sqlplus / as sysdba命令进入oracle数据库

2.使用:select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';

语句查看密码的有效天数为180天,也就是三个月

ORA-28001: the password has expired解决方法_第1张图片

 

3.使用:alter profile default limit password_life_time unlimited; 命令改为永久生效

 

4.验证

ORA-28001: the password has expired解决方法_第2张图片

 

5.进行以上步骤之后需要改变密码,否则还会出现password has expired异常

修改用户密码: alter user editor identified by editor;

 

你可能感兴趣的:(DB)