xampp MySQL does not start(xampp MySQL 不启动)
问题描述
我在 Windows 7 32 位上安装了 Xampp.当我尝试在 XAMPP 控制面板 (v3.2.1) 中启动 MySql 时,出现以下消息,但 MySql 无法启动.
I installed Xampp on Windows 7 32-bit. 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...
在此处报告了类似的问题,但没有工作回答.当我尝试在禁用 MySql 的情况下安装时,结果是我什至没有选择尝试运行它.
A similar problem was reported here but there is no working answer. When I try to install with MySql disabled, the result is that I even don't have an option even to try to run it.
我是 Xampp 的新手,不知道该从何处寻找解决问题的方法
I am new to Xampp and don't know where and what to look for to solve the issue
我需要用 PHP 运行 Apache 和 MySql.
I need to run Apache and MySql with Php.
推荐答案
您已经在这台机器上安装了一个使用端口 3306 的 mySQL 版本.进入最新的 my.ini 文件并将端口更改为 3307.重启mySQL服务,看看是否出现.
You already have a version of mySQL installed on this machine that is using port 3306. Go into the most recent my.ini file and change the port to 3307. Restart the mySQL service and see if it comes up.
你还需要将xampp\php\php.ini中的3306端口改为3307
You also need to change port 3306 to 3307 in xampp\php\php.ini
这篇关于xampp MySQL 不启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:xampp MySQL 不启动
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 更改自动增量起始编号? 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- SQL 临时表问题 2022-01-01
