SQL*Plus: Release 11.2.0.1.0 Production on 星期二 8月 3 09:14:29 2021
Copyright (c) 1982, 2010, Oracle. All rights reserved.
请输入用户名: system
输入口令:
连接到:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
SQL> sqlplus /NOLOG
SP2-0734: 未知的命令开头 "sqlplus /N..." - 忽略了剩余的行。
SQL> connect sys/change_on_install as sysdba
已连接。
SQL> shutdown normal
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup mount
ORACLE 例程已经启动。
Total System Global Area 3390558208 bytes
Fixed Size 2180464 bytes
Variable Size 2164263568 bytes
Database Buffers 1207959552 bytes
Redo Buffers 16154624 bytes
数据库装载完毕。
SQL> alter database open
2
SQL> shutdown normal
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup mount
ORACLE 例程已经启动。
Total System Global Area 3390558208 bytes
Fixed Size 2180464 bytes
Variable Size 2164263568 bytes
Database Buffers 1207959552 bytes
Redo Buffers 16154624 bytes
数据库装载完毕。
SQL> alter database open;
数据库已更改。
SQL>
经过上面这波操作,我的oracle数据库又可以正常连接了,哈哈~