xampp MySQL 无法启动

xampp MySQL does not start(xampp MySQL 无法启动)
本文介绍了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 FilesMySQLMySQL Server 5.1inmysqld" --defaults-file="C:Program FilesMySQLMySQL Server 5.1my.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.

你还需要在xamppphpphp.ini中将3306端口改为3307

You also need to change port 3306 to 3307 in xamppphpphp.ini

这篇关于xampp MySQL 无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Hibernate reactive No Vert.x context active in aws rds(AWS RDS中的休眠反应性非Vert.x上下文处于活动状态)
Bulk insert with mysql2 and NodeJs throws 500(使用mysql2和NodeJS的大容量插入抛出500)
Flask + PyMySQL giving error no attribute #39;settimeout#39;(FlASK+PyMySQL给出错误,没有属性#39;setTimeout#39;)
auto_increment column for a group of rows?(一组行的AUTO_INCREMENT列?)
Sort by ID DESC(按ID代码排序)
SQL/MySQL: split a quantity value into multiple rows by date(SQL/MySQL:按日期将数量值拆分为多行)