Php MySql在启动Xampp时崩溃?

Php MySql在启动Xampp时崩溃?,php,mysql,crash,xampp,Php,Mysql,Crash,Xampp,当我从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:

当我从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: '::'.

有人能帮我告诉我到底发生了什么吗可能你的端口正忙。如果你使用Linux,你可以试着运行“lsof-i”来检测什么在使用你的端口。

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

1) 打开Xampp控制面板并单击服务

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

3) 停止服务并再次尝试启动mysql


希望它能对您有所帮助。

PHP与您有什么关系?你试过日志中记录的问题了吗?嘿,你找到答案了吗!我卸载并重新安装了它,然后像charm@Unciasi在使用windows 10时,您可以尝试在xampp上更改mysql端口号,或键入cmd netstat-aon | findstr'[port_number]'