Oracle忘记数据库密码

http://jingyan.baidu.com/article/eae078278680c11fec548509.html

windows:
echo %ORACLE_SID%   
set ORACLE_SID=orcl
sqlplus / as sysdba
alter user you_username identified by you_password;
alter user you_username account unlock;


linux:
echo $ORACLE_SID
set ORACLE_SID=orcl
sqlplus / as sysdba
alter user you_username identified by you_password;
alter user you_username account unlock;

猜你喜欢

转载自1971161579.iteye.com/blog/2356234