Home > Database > Mysql Tutorial > body text

Batch files for stopping and starting mysql and oracle databases

黄舟
Release: 2017-09-05 13:45:14
Original
1611 people have browsed it

Whenever the machine starts very slowly, you need to check the reason and deal with it. The following is a batch file for the window service. Friends who need it can refer to it

1. Shut down and cancel the shutdown


::关机
echo 30秒之后关机
%systemroot%\system32\shutdown -s -t 30
 
::取消关机
echo 取消关机
%systemroot%\system32\shutdown -a
Copy after login

2.oralce, or mysql service startup and shutdown


::oralce service start
net start OracleVssWriterORCL
net start OracleDBConsoleorcl
net start OracleOraDb10g_home1iSQL*Plus
net start OracleOraDb10g_home1TNSListener
net start OracleServiceORCL
 
::oralce stop service
net stop OracleServiceORCL
net stop OracleOraDb10g_home1TNSListener
net stop OracleOraDb10g_home1iSQL*Plus
net stop OracleDBConsoleorcl
net stop OracleVssWriterORCL
 
::mysql start service
net start MySQL
 
::mysql stop service
net stop MySQL
Copy after login

The above is the detailed content of Batch files for stopping and starting mysql and oracle databases. 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!