【问题标题】:XAMPP can't START to Running MySQLXAMPP 无法开始运行 MySQL
【发布时间】:2019-08-08 15:21:14
【问题描述】:

我已经使用同一个 XAMPP 很长时间了,一切都很好。但是今天,MySQL 不想做running (start) 进程。

我做了很多方法,比如重启,去掉ibdataaria_log,然后重试。但是结果还是不能running,连ibdata等我删掉的都恢复正常了。

9:50:34 PM  [mysql]     Status change detected: running
9:50:39 PM  [mysql]     Status change detected: stopped
9:50:39 PM  [mysql]     Error: MySQL shutdown unexpectedly.
9:50:39 PM  [mysql]     This may be due to a blocked port, missing dependencies, 
9:50:39 PM  [mysql]     improper privileges, a crash, or a shutdown by another method.
9:50:39 PM  [mysql]     Press the Logs button to view error logs and check
9:50:39 PM  [mysql]     the Windows Event Viewer for more clues
9:50:39 PM  [mysql]     If you need more help, copy and post this
9:50:39 PM  [mysql]     entire log window on the forums
10:04:16 PM  [mysql]    Problem detected!
10:04:16 PM  [mysql]    Port 3306 in use by "Unable to open process"!
10:04:16 PM  [mysql]    MySQL WILL NOT start without the configured ports free!
10:04:16 PM  [mysql]    You need to uninstall/disable/reconfigure the blocking application
10:04:16 PM  [mysql]    or reconfigure MySQL and the Control Panel to listen on a different port
10:04:16 PM  [mysql]    Attempting to start MySQL app...
10:04:16 PM  [mysql]    Problem detected!
10:04:16 PM  [mysql]    Port 3306 in use by "Unable to open process"!
10:04:16 PM  [mysql]    MySQL WILL NOT start without the configured ports free!
10:04:16 PM  [mysql]    You need to uninstall/disable/reconfigure the blocking application
10:04:16 PM  [mysql]    or reconfigure MySQL and the Control Panel to listen on a different port
10:04:16 PM  [mysql]    Attempting to start MySQL app...
10:04:17 PM  [mysql]    Status change detected: running
10:04:20 PM  [mysql]    Status change detected: stopped
10:04:20 PM  [mysql]    Error: MySQL shutdown unexpectedly.
10:04:20 PM  [mysql]    This may be due to a blocked port, missing dependencies, 
10:04:20 PM  [mysql]    improper privileges, a crash, or a shutdown by another method.
10:04:20 PM  [mysql]    Press the Logs button to view error logs and check
10:04:20 PM  [mysql]    the Windows Event Viewer for more clues
10:04:20 PM  [mysql]    If you need more help, copy and post this
10:04:20 PM  [mysql]    entire log window on the forums

我该怎么办?我真的需要帮助,我需要打开PhpMyadmin

【问题讨论】:

  • “无法打开进程”正在使用端口 3306! 您看起来已经安装了两台 MySQL 服务器,而另一台正在启动时自动启动。你安装了 WorkBench 吗?这是正常的罪魁祸首。还是在找到 XAMPP 之前尝试手动安装 MySQL
  • 你是 Windows 还是 *nix
  • @RiggsFolly 我是 Windows 用户。是的,没错,我最近安装了一个工作台。我刚刚发现工作台对在 Xampp 上“运行”MySQL 产生了影响。那我该怎么办?禁用工作台是解决方案吗?
  • 它本身没有影响。它可以安装自己的 MySQL 版本。这就是我认为已经发生的事情。我建议您卸载 WorkBench (您要先保留的备份和数据库) 然后重新安装它,确保您不要安装 MySQL(我认为这是一个选项) WorkBench 将能够看到MySQL的XAMPP版本
  • 谢谢,您的回答很有帮助。

标签: mysql xampp


【解决方案1】:
10:04:16 PM  [mysql]    Port 3306 in use by "Unable to open process"!

3306 端口正在使用中。尝试从ini文件(my.ini)更改Mysql Server的端口号。或者也许另一个mysql进程已经在运行了

你可以检查是否有另一个mysql实例正在运行

ps -eaf | grep mysql

【讨论】:

  • 如果 3306 正在使用中,这通常意味着 2 个 MySQL 实例,另一个正在启动时启动
  • 通常但不一定(其他可能也在使用 3306)。
猜你喜欢
  • 2019-11-08
  • 2015-07-22
  • 2020-10-26
  • 2014-07-16
  • 2015-10-16
  • 2014-12-30
  • 1970-01-01
  • 2016-08-27
  • 2016-12-14
相关资源
最近更新 更多