oracle忘记system和sys账户的密码怎么办?

1、链接oracle数据库:

    D:/oracle/ora92/bin>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on 星期四 8月 16 11:32:22 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL>

2、以OS身份登录oracle:

    SQL> conn /as sysdba
    已连接。

3、重新设定system和sys账户的密码:

    SQL> alter user system identified by password;
    用户已更改。
    SQL> alter user sys identified by password;
    用户已更改。

    SQL> exit

 4、退出后,尝试链接system和sys账户,肯定成功,本人亲测。

posted on 2012-10-10 09:15  ChenJW  阅读(418)  评论(0编辑  收藏  举报

导航