You can easily perform operations on the database service by making the corresponding database startup and shutdown command into a batch processing file with. BAT as the suffix.
Batch Processing command:
1. Oracle
Start Oracle
Net start oracleoradb11g_home1tnslistener
Net start oracleservicemyorcl
Note: myorcl is the Instance name of Oracle. Different users may be different. Just look at your service name.
Disable Oracle
Net stop oracleoradb11g_home1tnslistener
Net stop oracleservicemyorcl
Connection: http://ishare.iask.sina.com.cn/f/20732177.html
2. sqlserver
Start sqlserver
Net start MSSQLServer
Disable sqlserver
Net stop MSSQLServer
Connection: http://ishare.iask.sina.com.cn/f/20732146.html
3. MySQL
Start MySQL
Net start MySQL
Disable MySQL
Net stop MySQL
Connection: http://ishare.iask.sina.com.cn/f/20732078.html
Conclusion: If you often perform operations on a service in the future, you can use the CMD command above to create batch file processing for easy operation.