公司的服务器因断电,重启后用PL/SQL连接出现此异常。
解决方法:
请输入用户名: system/sys as sysdba
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown normal;
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup mount
ORACLE 例程已经启动。
Total System Global Area 1937457152 bytes
Fixed Size 2256424 bytes
Variable Size 1207960024 bytes
Database Buffers 721420288 bytes
Redo Buffers 5820416 bytes
数据库装载完毕。
SQL> recover database
完成介质恢复。
SQL> alter database open
2 /
数据库已更改。