之前安装了oracle,但是第一次安装后,就是不知道怎么输入用户名和密码进入到里面,现在教你如何进入oracle执行相应的命令
解决ora-280000 the account is locked的问题:
开始-->运行-->cmd 进行DOS界面
<a href="http://s1.51cto.com/wyfs02/M02/83/9D/wKioL1d4dxHyl27VAAEN7CJkQao867.png-wh_500x0-wm_3-wmp_4-s_3245571584.png" target="_blank"></a>
<a href="http://s4.51cto.com/wyfs02/M00/83/9D/wKioL1d4d1TgXI7lAAEK_rhgWq4265.png-wh_500x0-wm_3-wmp_4-s_3241677853.png" target="_blank"></a>
输入:sqlplus.exe / as sysdba;
SQL>alert user scott account unlock;
User altered.
sql>commit;
Commit complete.
SQL>conn scott/tiger
ERROR:
ORA-28001:the password has expired
Change password for scott
New passoword:
Retype new password
Password changed
Connect.
SQL>commit;
这个时候使用scott/新的密码进行net manager测试可以成功,这样就解决了ora-280000 the account is locked的问题
那下一个问题就是如果system的密码忘了怎么办?
首先,使用上面提到的方法进入sqlplus
SQL> conn /as sysdba
SQL> alter user system identified by manager;
SQL>conn system/manager;
Connected.
到此这个问题也解决。
宁缺毋滥,容不得一点瑕疵。
本文转自aaa超超aaa 51CTO博客,原文链接:http://blog.51cto.com/10983441/1795256