XAMPP solution for using MySQL port in a problem

Source: Internet
Author: User
Tags mysql in

If you have MySQL installedon your computer before you install Xampp , and you have added Windows services

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 to prompt the second method of the message (if you have previously installed do not want to use it), this modification method in Baidu experience has a good solution

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 both

The following is a detailed link

Resolves an issue where MySQL server fails to start in XAMPP

It uses the SC tool that comes with Windows

Note that the command is to be used under administrator privileges , in contrast:

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

XAMPP solution for using MySQL port in a problem

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.