oracle常见错误

1.ORA-28002: the password will expire within 7 days 

安装 Oracle 时默认的 PASSWORD_LIFE_TIME 是 180 天, 即 6 个月,其含义就是,我们的用户密码每 6 个月就需要更新(注意: 这里的更新不是指密码需要改变,而是指一个更新动作,可以维持密码不变,但必须执行这个更新动作)!

1) 查看用户的 profile 设置:select username,profile from dba_users;

2)select resource_name, limit from dba_profiles p where p.profile = 'DEFAULT' and resource_name = 'PASSWORD_LIFE_TIME';

3)alter profile DEFAULT limit PASSWORD_LIFE_TIME UNLIMITED;    

4)所有经常使用的账户必须都更新一次密码:alter user system identified by 密码;

原文地址:https://www.cnblogs.com/jiktiv123/p/7772012.html