日期:2014-05-16  浏览次数:20643 次

oracle 忘记sys 密码后,更改方法

D:\oracle\ora92\bin>sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on 星期四 8月 16 11:32:22 2007

Copyright (c) 1982, 2002, Oracle Corporation.? All rights reserved.

SQL> conn /as sysdba
已连接。
SQL> alter user system identified by password;

用户已更改。

SQL> alter user sys identified by password;

用户已更改。

SQL> alter user system identified by manger;

用户已更改。

SQL> exit
从Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中断开

D:\oracle\ora92\bin>sqlplus

SQL*Plus: Release 9.2.0.1.0 - Production on 星期四 8月 16 11:40:37 2007

Copyright (c) 1982, 2002, Oracle Corporation.? All rights reserved.

请输入用户名:? system
请输入口令:

连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

SQL> select instance_name from v$instance;

INSTANCE_NAME
----------------
orcl