SQL> conn /as sysdba Connected to an idle instance.
切换用户:
CONN 用户名/密码 [AS SYSDBA],如果是sys用户一定要写上AS SYSDBA
4.通过startup命令启动实例
SQL> startup
ORACLE instance started.
Total System … … Database mounted. Database opened. SQL>
二、Linux下关闭Oracle
1.关闭数据库实例
SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down. SQL> quit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options