忘记密码咋办:
进入cmd,输入set ORACLE_SID=ymxg (ORACLE_SID的值为你想登录的oracle实例的SID)
然后输入:sqlplus / as sysdba
最后输入:
alter user scott identified by tiger; (scott需要修改密码的账号,tiger密码)
账号被锁住咋办:
cmd中输入sqlplus / as sysdba (以DBA的身份登录另一个用户,有账号密码的,在/前加账号,/后加密码)
然后输入:
alter user scott account unlock; (scott 你要解锁的账号)