Skip to content

Instantly share code, notes, and snippets.

@mmaha
Created October 18, 2011 18:26
Show Gist options
  • Save mmaha/1296236 to your computer and use it in GitHub Desktop.
Save mmaha/1296236 to your computer and use it in GitHub Desktop.
sqlplus startup & shutdown commands (ORACLE_HOME and ORACLE_SID needs to be set.)
Enter the following commands to shut down the instance:
$ sqlplus /nolog
SQL> CONNECT SYS/sys_password as SYSDBA
SQL> SHUTDOWN NORMAL
Enter the following commands to start the instance:
$ sqlplus /nolog
SQL> CONNECT SYS/sys_password as SYSDBA
SQL> STARTUP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment