How to set up the MySQL boot automatically

Source: Internet
Author: User
Tags mysql in

First through the chkconfig command to see MySQL in the Not manageable list, the command is:

Chkconfig--list If this is not mysqld in the list, you need to add this command first:

Chkconfig Add mysqld

Then use this command to set the boot up:

Chkconfig mysqld on

Finally, verify that the setting is successful


If Windows MySQL also requires each Click to start a friend we can refer to the following method


1. Open Command Line window (CMD)
2. Switch to MySQL directory, for example: D:xamppmysqlbin
3. Input Mysqld-nt--install, enter
4. System prompt (Service successfully installed.)//Can be omitted
5. Open [Control Panel-admin tools-Services]//Can be omitted
6. View service "MYSQL" Startup type is automatic can//can be omitted

Related Article

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.