Oracle forgot database password

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;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326476897&siteId=291194637