php - mysql 无法在 xampp 上运行

标签 php mysql sql xampp

请帮助我......每当我启动 xammp 服务器并尝试启动 mysql 时都会出现错误 就像...

4:42:52 PM [mysql] Problem detected!
4:42:52 PM [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"!
4:42:52 PM [mysql] MySQL WILL NOT start without the configured ports free!
4:42:52 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
4:42:52 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

最佳答案

在命令 shell 中,运行:

netstat -b -p TCP

并在第二列中查找显示 localhost:3306 的行。下面是使用端口的应用程序名称。

关于php - mysql 无法在 xampp 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23888268/

相关文章:

mysql - 没有 root 帐户无法在服务器上安装 MySQL 5.7

mysql - 动态值的数据库结构

java - JPA:一张表有两个不同的数据库

html - 如何将html表数据插入mysql数据库

Python MYSQL GROUP BY 问题

c# - 使用 SqlConnection 打开 DataReader 错误

php - 在不打开文件的情况下使用 PHP 创建文件

php - Paypal IPN 使用立即购买按钮返回无效但使用 IPN 模拟器验证

php - SQL 查询正在运行但随机停止

php - 通过 php 使用正则表达式提取链接