环境:
使用非日志记录方式登陆:sqlplus /nolog
转而用sys用户登陆sysdba数据库:conn sys as sysdba
使用alter,account修改和解锁: alter user scott identified by 123456 account unlock;
出现ORA-01034: ORACLE not available
解决方法:
使用sys用户登陆数据库mytestdb: sqlplus sys/123456@mytestdb as sysdba
使用alter,account修改和解锁: alter user scott identified by 123456 account unlock;
成功
转载于:https://blog.51cto.com/13502993/2338858