1. cmd ----------------
2.set oracle_sid=database;
3.sqlplus  /nolog;
4.connect /as sysdba
5.starpup
6.alter user sys identifed by yan;
7.connect sys/sys@orcl as sysdba;
 
或者:
建个用户提权为sysdba
 
create user now_fly identifed by now_fly;
grant sysdba to now_fly;