XAMPP cannot start MYSQL

Source: Internet
Author: User
XAMPP cannot start mysql xampp Path server

12:02:20 [mysql] MySQL Service detected with wrong path
12:02:20 [mysql] Change XAMPP MySQL and Control Panel settings or
12:02:20 [mysql] Uninstall/disable the other service manually first.
12:02:20 [mysql] Found Path: "C: \ Program Files \ MySQL Server 5.0 \ bin \ mysqld-nt" -- defaults-file = "C: \ Program Files \ MySQL Server 5.0 \ my. ini "MySQL
12:02:20 [mysql] Expected Path: d: \ xampp \ mysql \ bin \ mysqld.exe -- defaults-file = d: \ xampp \ mysql \ bin \ my. ini mysql


Reply to discussion (solution)

A mysql service has been started locally,
Cmd-> services. msc, stop another mysql service.

Are you going to start two mysql instances?

A mysql service has been started locally,
Cmd-> services. msc, stop another mysql service.

13:58:42 [mysql] Attempting to start MySQL service...
14:06:37 [mysql] Attempting to start MySQL service...
14:10:01 [mysql] Attempting to start MySQL service...
14:11:45 [mysql] Attempting to start MySQL service...
It is still not easy to use.


A mysql service has been started locally,
Cmd-> services. msc, stop another mysql service.

13:58:42 [mysql] Attempting to start MySQL service...
14:06:37 [mysql] Attempting to start MySQL service...
14:10:01 [mysql] Attempting to start MySQL service...
14:11:45 [mysql] Attempting to start MySQL service...
It is still not easy to use. Exit XAMPP and open it again.



A mysql service has been started locally,
Cmd-> services. msc, stop another mysql service.

13:58:42 [mysql] Attempting to start MySQL service...
14:06:37 [mysql] Attempting to start MySQL service...
14:10:01 [mysql] Attempting to start MySQL service...
14:11:45 [mysql] Attempting to start MySQL service...
It is still not easy to use. Exit XAMPP and open it again.

Thank you for breaking me down. I deleted all of them and re-equipped them. thank you.

I also encountered this problem. I stopped the service and started it again, but still failed to solve the problem.

You should have installed mysql on your computer before installing xampp, and then started the previous mysql by default.
I also encountered a similar problem. later I modified the registry.
Change the ImagePath of [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ MySQL] to a new location in xampp. \ Mysql \ bin \ mysqld MySQL
Restart the cmder.exe process to make the registry take effect.
Click start next to mysql again. OK! Mysql service is started normally!

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.