Home > Backend Development > PHP Tutorial > XAMPP启动不了Mysql怎么办?

XAMPP启动不了Mysql怎么办?

PHPz
Release: 2020-09-05 11:17:30
Original
8657 people have browsed it

XAMPP启动不了Mysql怎么办?

XAMPP启动不了Mysql,报错:

2.png

解决方法:

①在命令提示符窗口输入regedit指令,打开注册表编辑器。

②找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL,将ImagePath的数据修改成xampp中mysq的位置,(按照你的安装路径修改)这里修改为E:\xampp\mysql\bin\mysqld MySQL。再次点击MySQL的 “Start”按钮,mysql服务正常启动。

在地址栏输入127.0.0.1

1.png

更多相关知识,请访问 PHP中文网!!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template