D:\oracle\ora92\bin>sqlplus /nolog\x0d\x0a\x0d\x0aSQL*Plus: Release 9.2.0.1.0 - Production on 星期四 8月 16 11:32:22 2007\x0d\x0a\x0d\x0aCopyright (c) 1982, 2002, Oracle Corporation. All rights reserved.\x0d\x0a\x0d\x0aSQL>conn /as sysdba\x0d\x0a已连接。\x0d\x0aSQL>alter user system identified by password\x0d\x0a\x0d\x0a
用户已更改。\x0d\x0a\x0d\x0aSQL>alter user sys identified by password\x0d\x0a\x0d\x0a用户已更改。\x0d\x0a\x0d\x0aSQL>alter user system identified by manger\x0d\x0a\x0d\x0a用户已更改。\x0d\x0a\x0d\x0aSQL>exit\x0d\x0a从Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production\x0d\x0aWith the Partitioning, OLAP and Oracle Data Mining options\x0d\x0aJServer Release 9.2.0.1.0 - Production中断开\x0d\x0a\x0d\x0aD:\oracle\ora92\bin>sqlplus\x0d\x0a\x0d\x0aSQL*Plus: Release 9.2.0.1.0 - Production on 星期四 8月 16 11:40:37 2007\x0d\x0a\x0d\x0aCopyright (c) 1982, 2002, Oracle Corporation. All rights reserved.\x0d\x0a\x0d\x0a
请输入用户名: system\x0d\x0a请输入
口令:\x0d\x0a\x0d\x0a连接到:\x0d\x0aOracle9i Enterprise Edition Release 9.2.0.1.0 - Production\x0d\x0aWith the Partitioning, OLAP and Oracle Data Mining options\x0d\x0aJServer Release 9.2.0.1.0 - Production\x0d\x0a\x0d\x0aSQL>select instance_name from v$instance\x0d\x0a\x0d\x0aINSTANCE_NAME\x0d\x0a----------------
这两个 *** 作都需要用sysdba身份去修改,方法如下:
1、win+R,输入cmd,回车。
2、以sysdba身份连接oracle的sqlplus。
sqlplus /nolog
conn / as sysdba
3、解锁语句用:
alter user 用户名 account unlock
4、修改口令语句用:
alter user 用户名 identified by 密码
评论列表(0条)