启用密码管理之前创建的用户连接Oracle报ORA-28002处理一则

     处理方法其实很简单、只要:
     alter user <username> identified by <same password>;  这个操作后,恢复正常了
     

     下面作个简单测试:

 

 

SQL> conn hr/hr
ERROR:
ORA-28002: the password will expire within 2 days


Connected.
SQL> conn / as sysdba
Connected.
SQL> alter user hr identified by hr;

User altered.

SQL> conn hr/hr
Connected.
SQL> conn scott/tiger
ERROR:
ORA-28002: the password will expire within 2 days


Connected.
SQL> conn / as sysdba
Connected.
SQL> alter user scott identified by tiger;

User altered.

SQL> conn scott/tiger
Connected.


 

 

By DBA_WaterBin

2013-08-02

Good Luck

 

posted @ 2013-08-02 22:34  坚固66  阅读(155)  评论(0编辑  收藏  举报