报错:ORA-28001:the password has expired

原因: 默认Oracle密码180天会过期

解决:cmd  cd..到根目录

          sqlplus / as sysdba;

          alter user 用户名 identified  by "要修改成的密码";

(如果是在plsql登录的话,plsql会直接弹出对话框让你做修改,更简单一些)

 

了解一下密码期限

先查看用户的profile

select username,profile from dba_users;

ORA-28001:the password has expired oracle数据库密码过期

上一步知道了用户的profile为DEFAULT,就可以查看profile为DEFAULT用户的密码周期了

select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';

密码周期为180天

ORA-28001:the password has expired oracle数据库密码过期

相关文章:

  • 2022-03-03
  • 2021-11-10
  • 2021-10-26
  • 2022-02-07
  • 2021-09-03
猜你喜欢
  • 2022-12-23
  • 2021-06-14
  • 2021-08-28
  • 2022-12-23
  • 2021-07-04
相关资源
相似解决方案