|
C:\Users\Administrator>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 12月 27 11:28:10 2017
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS: 协议适配器错误
请输入用户名:
C:\Users\Administrator>
C:\Users\Administrator>where sqlplus (查询sqlplus命令位置)
D:\product\11.2.0\client\BIN\sqlplus.exe (默认是sqlplus使用客户端连接数据库)
D:\product\11.2.0\dbhome_1\BIN\sqlplus.exe
C:\Users\Administrator>
C:\Users\Administrator>D:\product\11.2.0\dbhome_1\BIN\sqlplus.exe / as sysdba (使用sqlplus绝对路径进入数据库)
SQL*Plus: Release 11.2.0.4.0 Production on 星期三 12月 27 11:29:04 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ WRITE
|
|