Oracle中账户被锁定的解决方法
今天进使用orcle中,发现系统中,system账户(或其他账户)登录里提示账户被锁定 ,后来查了查资料,问题解决,方法如下:
cmd
C:\Documents and Settings\Administrator>sqlplus /nolog
SQL*Plus: Release 10.2.0.3.0 - Production on 星期三 5月 11 09:04:34 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
SQL> conn /as sysdba
已连接。
SQL> alter user system(或其他账户) account unlock;
用户已更改。
SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开
C:\Documents and Settings\Administrator>sqlplus
SQL*Plus: Release 10.2.0.3.0 - Production on 星期三 5月 11 09:04:34 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
请输入用户名: system
输入口令:
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
至此账户解锁成功.