1. 程式人生 > >XAMPP啟動mysql問題

XAMPP啟動mysql問題

image file pro 解決 成就 sql panel ted 端口

Problem detected!
21:57:44 [mysql] Port 3306 in use by ""E:\MySQL\bin\mysqld" --defaults-file="E:\MySQL\my.ini" MySQL"!
21:57:44 [mysql] MySQL WILL NOT start without the configured ports free!
21:57:44 [mysql] You need to uninstall/disable/reconfigure the blocking application
21:57:44 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

修改了端口還是報這個錯誤。

解決辦法:

1.cmd-->regedit 找到 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL]
2.修改ImagePath的鍵值為XAMPP中的mysql的安裝路徑 (原來的鍵值---C:\Program Files (x86)\MySQL\MySQL Server 5.7\bin\mysqld
改為--C:\xampp\mysql\bin\mysqld)
3.修改完成就可以啟動了

XAMPP啟動mysql問題