How to restart an oracle 11g database in windows 10 machine

Viewed 1482

Accidently killed the oracle 11g process via task manager. Sql plus login throws error ERROR: ORA-12560: TNS:protocol adapter error

1 Answers

Log in with SQLPlus as sys using this command:

sqlplus / as sysdba

then shutdown the database using this command:

SHUTDOWN IMMEDIATE;

then startup the instance, mount the database, and open the database with this command:

STARTUP;
Related