Home > Common Problem > body text

How to restart Oracle database

angryTom
Release: 2020-02-29 12:15:34
Original
15933 people have browsed it

How to restart Oracle database

Oracle method to restart the database

1. Enter the Linux system with the Oracle account under Linux.

2. Execute the following command to check the status of the database listener:

lsnrctl status
Copy after login

3. Execute the following command to stop the database listener:

lsnrctl stop
Copy after login

4. Execute the following command to enter SQLPlus :

sqlplus /nolog
conn /as sysdba
shutdown immediate
Copy after login

5. Execute the following command to exit SQLPlus:

Exit
Copy after login

6. Start and view the database listener:

lsnrctl start
lsnrctl status
Copy after login

7. Start the Oracle database:

sqlplus /nolog
conn /as sysdba
startup
Copy after login

Enter sqlplus command under window: sqlplus / as sysdba

Enter sqlplus command under Linux: sqlplus "/as sysdba"

PHP Chinese website, a large number of mysql introductory videos , welcome to learn!

The above is the detailed content of How to restart Oracle database. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!