在 Windows 7 32 位上安装 Xampp.启动时的错误

2021-09-30 00:00:00 xampp mysql

当我尝试在 XAMPP 控制面板 (v3.2.1) 中启动 MySql 时,我收到以下消息,但 MySql 无法启动.

When I try to start MySql in XAMPP control panel (v3.2.1) I have the following message and MySql does not start.

23:02:03  [mysql]   Problem detected!
23:02:03  [mysql]   Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL"!
23:02:03  [mysql]   MySQL WILL NOT start without the configured ports free!
23:02:03  [mysql]   You need to uninstall/disable/reconfigure the blocking application
23:02:03  [mysql]   or reconfigure MySQL and the Control Panel to listen on a different port
23:02:03  [mysql]   Attempting to start MySQL service...

推荐答案

端口3306已经在你的机器上使用了,需要把端口号改成3307my.ini 中的 code> 在 C:\xampp\mysql\bin\my.ini 中.

The port 3306 is already in use in your machine, so you need to change the port number to 3307 in my.ini in C:\xampp\mysql\bin\my.ini.

完成后重启 Apache 服务器.

Once done restart the Apache server.

相关文章