XAMPP无法开始运行MySQL

时间:2019-08-08 15:21:14

标签: mysql xampp

我使用同一个XAMPP很久了,一切都很好。但是今天,MySQL不想执行runningstart)过程。

我已经完成了许多方法,例如重新启动,删除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

1 个答案:

答案 0 :(得分:0)

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