oracle10 数据库中 scott用户被锁与解锁

来源:互联网 发布:matlab产生随机矩阵 编辑:程序博客网 时间:2024/05/12 04:40

进入dos:

 

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:/Documents and Settings/ISSuser>sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 1月 6 11:26:55 2010

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

请输入用户名:  scott
输入口令:
ERROR:
ORA-28000: the account is locked


请输入用户名:  sys as sysdba
输入口令:

连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter user scott account unlock;
     用户已更改.
SQL> commit;
     提交完成.

SQL> conn scott/tiger
更改scott口令
新口令:tiger
重新键入新口令:tiger
口令已更改
已连接。

原创粉丝点击