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
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
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!