当使用 sqlplus / as sysdba 命令连接到 Oracle 数据库时,如果显示 "Connected to an idle instance.",这意味着你已经成功以 SYSDBA 权限登录,但当前数据库实例处于空闲状态,即数据库尚未启动或已关闭。 解释 SYSDBA 权限: SYSDBA 是 Oracle 数据库中的一个特殊系统权限,允许用户以数据库
当发生ORA-00020时,sqlplus登陆会报“connected to an idle instance” 来源于: Sqlplus Logon Reports 'connected to an idle instance' when ORA-20 happens in 10g (文档 ID 1370000.1) 说的比較经典, 不做翻译,直接转帖: APPLIES TO: Oracle Server - Enterprise Edition - Version: 10.1.0.4 to 10.2.0.5...
SQL> col host_nameforA10; SQL> col host_nameforA20; SQL> select instance_name,host_name,archiver,thread#,status from gv$instance;; INSTANCE_N HOST_NAME ARCHIVE THREAD# STATUS--- --- --- --- ---cncity2nycity.inno.com STARTED2OPENcncity3hzcity.inno.com STARTED3OPENcncity1gzcity.i...
首先,你应该明确Connected to an idle instance不是报错,是提示你:你已经成功连接到了数据库,但时实例是未启动的,你只需要执行以下几条命令来开库就好 select status from v$instance; #查看数据库状态,此时肯定不是OPEN startup #用你的sys账号启动数据库 用第一步的语句再次查看数据库实...
在10g中,当发生ORA-00020时,sqlplus登陆会报“connected to an idle instance” 说的比较经典, 不做翻译,直接转帖: APPLIES TO: Oracle Server - Enterprise Edition - Version: 10.1.0.4 to 10.2.0.5 - Release: 10.1 to 10.2 Information in this document applies to any platform. ...
关于sqlplus中出现"Connected to an idle instance"问题的处理: 该问题在如下文章中有解释: How to Check the Environment Variables for an Oracle Process (文档 ID 373303.1) 如下是从该文章中摘录: The most used application of this document is when dealing with the "Connected to an idle instance" scen...
[root@rac1 ~]# su - oracle [oracle@rac1 ~]$ sqlplus /nolog SQL> conn / as sysdba Connected to an idle instance. 当前文章:Oracle下sqlplus无法使用命令退格删除和历史记录的解决方法--使用rlwrap 浏览地址:http://www.xiwangwangguoyuan.com/article/jdppsp.html...
Connected to an idle instance. SQL> startup //启动startup,1、shutdown normal 正常方式关闭数据库。 2、shutdown immediate 立即方式关闭数据库。 在SVRMGRL中执行shutdown immediate,数据库并不立即关闭, 而是在Oracle执行某些清除工作后才关闭(终止会话、释放会话资源), 当使用shutdown不能关闭数据库时,shutdow...
[oracle@rac1 ~]$ su - root Password: [root@rac1 ~]# ln -s $ORACLE_HOME/bin/sqlplus /usr/bin [root@rac1 ~]# su - oracle [oracle@rac1 ~]$ sqlplus /nolog SQL> conn / as sysdba Connected to an idle instance.
Connected to an idle instance. SQL> startup^C SQL> startup ORACLE instance started. 2、在双机环境下 要想启动或关闭ORACLE系统必须首先切换到root用户,如下 su - root a、启动ORACLE系统 hareg -y oracle b、关闭ORACLE系统 hareg -n oracle