oracle 忘记用户名密码

来源:互联网 发布:seo与sem 编辑:程序博客网 时间:2024/04/29 10:23

查看所有用户:

select   username   from   all_users;

 

 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