Solution for MySql service to disappear due to unknown reasons

Source: Internet
Author: User

Solution for MySql service to disappear due to unknown reasons

Solution to MySql service disappearance due to unknown reasons

Just now, MySQL-Front couldn't open MySql, but it turned out that MySql services were gone. It may have occurred that PhpStudy was installed last night and the MySql service was uninstalled.

Solution

Go to the \ Windows \ system32directory under drive C, find cmd.exe under the directory, right-click it, and select "Run as administrator" in the pop-up menu ". Then go to the MySql installation directory. Here, let's talk about it. You must first enter a drive letter. For example, if you enter drive C, you cannot directly

Cd D: \ work \ MySQL Server 5.5 \ bin

The correct method is:

C: \ Users \ 12262> D: \> cd "work \ MySQL Server 5.5 \ bin" D: \ work \ MySQL Server 5.5 \ bin> \

After entering the mysql bin, enter the following command:

Mysqld.exe-install // wait until the installation prompt is displayed, and then enter the following command. net start mysql

Thank you for reading this article. I hope it will help you. Thank you for your support for this site!

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.