Microsoft Windows [版本 10.0.14393]
(c) 2016 Microsoft Corporation。保留所有权利。
(c) 2016 Microsoft Corporation。保留所有权利。
C:\WINDOWS\system32>sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 7月 23 20:13:26 2017
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
已连接。
SQL> alter user bos account unlock; (bos为用户名)
SQL> conn /as sysdba
已连接。
SQL> alter user bos account unlock; (bos为用户名)
用户已更改。
SQL> exit
C:\WINDOWS\system32>
C:\WINDOWS\system32>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 7月 23 20:21:46 2017
Copyright (c) 1982, 2005, Oracle. All rights reserved.
请输入用户名: bos
输入口令:
ERROR:
ORA-28001: the password has expired
更改 bos 的口令
新口令:
重新键入新口令:
口令已更改
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
本文记录了在Microsoft Windows环境下使用SQL*Plus解锁Oracle数据库用户账户的过程,并解决了用户密码过期的问题。通过sysdba权限解锁账户并重置密码,确保了数据库用户的正常登录。
580

被折叠的 条评论
为什么被折叠?



