[读书笔记]xampp mysql启动失败解析(win7)
1、 [mysql] MySQL Service detected with wrong path
[mysql] Change XAMPP MySQL and Control Panel settings or
[mysql] Uninstall/disable the other service manually first
[mysql] Found Path: "D:\Program Files\MySQL\MySQL Server 5.6.7\bin\mysqld-nt" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.6.7\my.ini" MySQL
[mysql] Expected Path: D:\xampp\mysql\bin\mysqld.exe --defaults-file=D:\xampp\mysql\bin\my.ini mysql
原因:本台PC上已有一个mysql启动运行着的
解决办法:1、停止服务并删除原有mysql
2、 [mysql] Attempting to start MySQL service...
原因:注册表信息不对
解决办法:ctrl+r > regedit.exe >找到[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL]的ImagePath修改成新的xampp中位置<xampp>\mysql\bin\mysqld MySQL
未来不迎,当时不杂,过往不恋