ORA-28002: the password will expire解决办法

 时间:2026-02-12 06:33:23

1、SQLDeveloper连接数据库提示

ORA-28002: the password will expire within 5 days

ORA-28002: the password will expire解决办法

2、登录到sqlplus

sqlplus / as sysdba

ORA-28002: the password will expire解决办法

3、查看密码有效期时长

SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';

ORA-28002: the password will expire解决办法

4、将密码设置成永不过期

SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

ORA-28002: the password will expire解决办法

5、修改用户密码

SQL> alter user joffice identified by joffice;

ORA-28002: the password will expire解决办法

6、修改完用户密码之后再次登录就会发现这个提示已经不在了。不过小编再次提醒,这只是一个解决办法,生成数据库最好还是定期修改密码,安全至上啊。

ORA-28002: the password will expire解决办法

  • HTTP错误500.19-Internal Server Error
  • Win10中如何添加DNS服务器工具
  • PotPlayer怎么启用内置音频选择滤镜
  • PotPlayer怎么播放失败后继续播放下一文件关闭
  • 如何鼠标右键添加CMD命令提示符菜单
  • 热门搜索
    怎么设置默认输入法 怎么抓野鸡 迈之灵片效果怎么样 欧诗漫化妆品怎么样 fastboot模式怎么进入 qq头像怎么换 压缩饼干怎么吃 迈克杰克逊怎么死的 舌尖麻是怎么回事 苹果4s怎么截图