联系:手机/微信(+86 17813235971) QQ(107644445)
作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]
Linux系统中
[oracle@report ~]$ echo $ORACLE_SID wlwjj [oracle@report ~]$ export ORACLE_SID=xifenfei [oracle@report ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 23:36:27 2011 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to an idle instance. SQL> exit Disconnected [oracle@report ~]$ sqlplus abc/abc SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 23:42:32 2011 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux-x86_64 Error: 2: No such file or directory
Win系统
E:\oracle\11_2_0\NETWORK\ADMIN>ECHO %ORACLE_SID% xff E:\oracle\11_2_0\NETWORK\ADMIN>SET ORACLE_SID=xifenfei E:\oracle\11_2_0\NETWORK\ADMIN>sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on 星期五 11月 11 23:31:14 2011 Copyright (c) 1982, 2010, Oracle. All rights reserved. ERROR: ORA-12560: TNS: 协议适配器错误 请输入用户名: E:\oracle\11_2_0\NETWORK\ADMIN>sqlplus chf/xifenfei SQL*Plus: Release 11.2.0.1.0 Production on 星期五 11月 11 23:34:01 2011 Copyright (c) 1982, 2010, Oracle. All rights reserved. ERROR: ORA-12560: TNS: 协议适配器错误 请输入用户名: