Home  >  Article  >  Database  >  Oracle 忘记用户名密码的处理方式

Oracle 忘记用户名密码的处理方式

WBOY
WBOYOriginal
2016-06-07 16:58:561023browse

1、保证你登陆的系统用户有足够的权限。Windows:将自己的用户加入到Oracle DBA Group中。UNIX 就用root登陆吧2、在command中运行

1、保证你登陆的系统用户有足够的权限。

Windows:将自己的用户加入到Oracle DBA Group中。UNIX 就用root登陆吧

2、在command中运行 sqlplus /nolog

3、在SQL> 命令符后 输入 conn /as sysdba

如果出现下面这个错误。

ERROR:

ORA-12560: TNS:protocol adapter error

这可能是你有多个数据库实例的原理,,就在第二步之前输入:

set oracle_sid=XXXX,XXXX就是你的database SID.

4、在SQL> 命令符后输入:ALTER USER SYSTEM IDENTIFIED BY **** ;

星号是你的密码。

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn