1.环境参数设置
@?/sqlplus/admin/glogin.sql
![](http://img.blog.itpub.net/blog/attachment/201803/29/31476473_1522294005PiI5.png?x-oss-process=style/bb)
export ORACLE_SID=XXX
2.启动
sqlplus / as sysdba
SQL> startup
SQL> select status from v$instance;
3.(可选)重建scott方案
@?/rdbms/admin/utlsampl.sql
4.解锁scott账号
使用sys用户解锁
sqlplus / as sysdba
SQL> alter user scott identified by tiger unlock;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31476473/viewspace-2152395/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/31476473/viewspace-2152395/