Oracle数据库账号被锁定时解锁方法

C:\Users\Administrator>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 6月 2 20:50:12 2014

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


连接到:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing option


SQL> alter user scott account unlock;


用户已更改。


SQL> conn scott/123456
ERROR:
ORA-01017: 用户名/口令无效; 登录被拒绝




警告: 您不再连接到 ORACLE。
SQL> conn scott/tiger
ERROR:
ORA-28001: 口令已经失效




更改 scott 的口令
新口令:
重新键入新口令:
口令已更改

已连接。



SQL> show user;

USER 为 "SCOTT"



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章