【Oracle】sql plus重啟數據庫命令


sql plus重啟數據庫:
關閉
shutdown immediate;
啟動
startup force;

 

Linux下:

1、登錄oracle用戶

oracle@ypdbuat:/home/oracle>sqlplus

SQL*Plus: Release 11.2.0.4.0 Production on Wed Aug 30 14:37:04 2017

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Enter user-name: sys as sysdba
Enter password:

Connected to:
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> startup

2、啟動監聽

oracle@ypdbdev:/home/oracle>cd $ORACLE_HOME/bin
oracle@ypdbdev:/u01/app/oracle/product/11.2.0/db_1/bin>lsnrctl start

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM