XAMPP solution for using MySQL port in a problem

Source: Internet
Author: User
Tags mysql delete mysql in mysql query
If MySQL was installed before XAMPP was installed and added to the Windows service

Two MySQL conflicts in Windows services when using XAMPP

This means that you have used MySQL on your computer before, and the path and port are occupied.

In this case, MySQL in XAMPP will not start normally,

A message like this will appear

First, try to change the port value in config of Xampp Mysql and control Panel settings, still error

Now try the second method of prompting the message (if you don't want to use it before)

General idea:

CMD Open command line

sc query MySQL queries mysql service status

sc delete mysql delete mysql service

sc query MySQL query again, the following message appears to indicate that the deletion was successful

Output:

[SC] Enumqueryservicesstatus:openservice Failure 1060:

The specified service is not installed

Start XAMPP again to use

It uses the SC tool that comes with Windows

Note that the command is to be used under Administrator privileges

Simply run cmd as administrator to,cmd-> right-click and run as Administrator

XAMPP solution for using MySQL port in a problem

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.