Start database Batch Processing

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.