pocketbook

登陆数据库时报错:your password has expired

解决方法:

1、以DBA用户连接数据库

2、输入查询命令:select * from dba_profiles where profile=\'DEFAULT\' and resource_name=\'PASSWORD_LIFE_TIME\';

      结果显示:

      

      改数据库密码有效期是180天。

2、输入命令:alter profile default  limit password_life_time unlimited;修改密码有效期限

      结果显示

      

3、输入命令:select * from dba_profiles where profile=\'DEFAULT\' and resource_name=\'PASSWORD_LIFE_TIME\'; 再次查询数据库密码有效期限

      结果显示

      

     密码有效期已更改。

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

      输入命令:alter user XXXUSER identified by PASSWORD; 

 

分类:

技术点:

相关文章:

  • 2021-09-18
  • 2021-11-30
  • 2021-09-27
  • 2021-11-20
  • 2021-11-20
  • 2021-11-04
  • 2021-10-25
猜你喜欢
  • 2021-06-02
  • 2021-11-30
  • 2021-09-27
  • 2021-05-26
  • 2021-11-20
  • 2021-09-27
相关资源
相似解决方案