启动Xampp时MySql崩溃了?

问题描述 投票:0回答:1

当我从Xampp启动MYSQL时,它崩溃了。它给我这个错误。

8:32:33 AM [mysql] Attempting to start MySQL app... 
8:32:33 AM [mysql] Status change detected: running 
8:32:37 AM [mysql] Status change detected: stopped 
8:32:37 AM [mysql] Error: MySQL shutdown unexpectedly. 
8:32:37 AM [mysql] This may be due to a blocked port, missing dependencies, 8:32:37 AM [mysql] improper privileges, a crash, or a shutdown by another method. 8:32:37 AM [mysql] Press the Logs button to view error logs and check 
8:32:37 AM [mysql] the Windows Event Viewer for more clues 8:32:37 AM [mysql] If you need more help, copy and post this 
8:32:37 AM [mysql] entire log window on the forums

error log InnoDB: using atomic writes.  
2020-05-13 8:26:07 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions  
2020-05-13 8:26:07 0 [Note] InnoDB: Uses event mutexes  
2020-05-13 8:26:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11  
2020-05-13 8:26:07 0 [Note] InnoDB: Number of pools: 1  
2020-05-13 8:26:07 0 [Note] InnoDB: Using SSE2 crc32 instructions  
2020-05-13 8:26:07 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M  
2020-05-13 8:26:07 0 [Note] InnoDB: Completed initialization of buffer pool 
2020-05-13 8:26:07 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 
2020-05-13 8:26:07 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-05-13 8:26:07 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...  
2020-05-13 8:26:07 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.  
2020-05-13 8:26:07 0 [Note] InnoDB: Waiting for purge to start  
2020-05-13 8:26:07 0 [Note] InnoDB: 10.4.11 started; log sequence number 73242724; transaction id 45388 
2020-05-13 8:26:07 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool  
2020-05-13 8:26:07 0 [Note] Plugin 'FEEDBACK' is disabled.  
2020-05-13 8:26:07 0 [Note] Server socket created on IP: '::'.

谁能帮帮我,告诉我到底发生了什么?

php mysql crash xampp
1个回答
0
投票

可能是你的端口繁忙。如果你用的是Linux,你可以尝试运行 "lsof -i "来检测是什么在使用你的端口。


0
投票

我也曾经遇到过这种问题。我是这样解决这个错误的。

1) 打开Xampp控制面板,点击服务。enter image description here

2)找到MYSQL08选项。它可能会显示服务已经启动。

enter image description here

3)停止服务,再尝试启动mysql。

You can even restart the service

希望能对你有所帮助。

© www.soinside.com 2019 - 2024. All rights reserved.