Oracle中忘记System和Sys密码后的处理方法
2009-12-13 00:32
661 查看
Oracle中忘记System和Sys密码后的处理方法
Oracle提供两种验证方式,一种是OS验证,另一种密码文件验证方式,
如果是第一种方式用以下方法修改密码:
+---------------------------------------------------------
|sqlplus /nolog;
|
|connect / as sysdba
|
|alter user sys identified by sys;
|
|alter user system identified by system;
+---------------------------------------------------------
如果是第二种方法用以下方法修改密码:
+---------------------------------------------------------
|orapwd file=pwdxxx.ora password=你设定的新密码 entries=10
+---------------------------------------------------------
设定完后,重新启动服务,再次登陆就可以了。
登陆:
+---------------------------------------------------------
|[root@localhost ~]# su oracle
|
|[oracle@localhost root]$ cd $ORACLE_HOME/bin
|
|[oracle@localhost bin]$ sqlplus sys/sys as sysdba;
|
|SQL> exit;
|
|[oracle@localhost bin]$ sqlplus system/system;
|
+---------------------------------------------------------
Oracle提供两种验证方式,一种是OS验证,另一种密码文件验证方式,
如果是第一种方式用以下方法修改密码:
+---------------------------------------------------------
|sqlplus /nolog;
|
|connect / as sysdba
|
|alter user sys identified by sys;
|
|alter user system identified by system;
+---------------------------------------------------------
如果是第二种方法用以下方法修改密码:
+---------------------------------------------------------
|orapwd file=pwdxxx.ora password=你设定的新密码 entries=10
+---------------------------------------------------------
设定完后,重新启动服务,再次登陆就可以了。
登陆:
+---------------------------------------------------------
|[root@localhost ~]# su oracle
|
|[oracle@localhost root]$ cd $ORACLE_HOME/bin
|
|[oracle@localhost bin]$ sqlplus sys/sys as sysdba;
|
|SQL> exit;
|
|[oracle@localhost bin]$ sqlplus system/system;
|
+---------------------------------------------------------
相关文章推荐
- Oracle中忘记System和Sys密码后的处理方法
- Oracle中忘记System和Sys密码后的处理方法
- oracle-11g忘记sys,system密码的处理方法
- oracle密码忘记处理对于sys,system情况;
- oracle忘记sys/system/scott用户密码的解决方法
- Oracle忘掉system与sys用户密码的处理方法
- 忘记Oracle System和Sys密码的方法
- 忘记Oracle System和Sys密码的方法
- 忘记Oracle System和Sys密码的方法
- 忘记Oracle System和Sys密码的方法
- Oracle 忘记sys或者system密码解决方法
- Oracle 11g忘记SYS和SYSTEM密码的处理办法
- Oracle 忘记了sys和system密码和用户名的解决方法
- 忘记Oracle System和Sys密码的方法
- Oracle 忘记 sys和system用户的密码 解决方法
- oracle忘记sys/system/scott用户密码的解决方法
- 忘记Oracle System和Sys密码的解决方法
- Oracle 11g忘记SYS和SYSTEM密码怎么办,答案很简单:修改密码!
- Oracle 11g sys,system 密码忘记设置解决办法
- Oracle system用户忘记密码的解决方法