问题描述
我在 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 不启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)