Apache - MySQL Service detected with wrong path. / Ports already in use

前端 未结 11 1140
孤街浪徒
孤街浪徒 2020-12-13 05:14

I\'m getting the following errors when I launch XAMPP.

12:35:23  [main]    Initializing Control Panel
12:35:23  [main]    Windows Version:   64-bit
12:35:23          


        
11条回答
  •  生来不讨喜
    2020-12-13 05:29

    about this specific issue:

    12:35:23  [mysql]   Found Path: "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL
    12:35:23  [mysql]   Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
    

    notice that .exe is missing from 1st row at the end of mysqld.

    To fix this, start regedit.exe and change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\mysql ImagePath by adding the .exe extension.

    Restart xampp control panel and this error should not show up.

提交回复
热议问题