【问题标题】:MySql Crashed When Starting Xampp?MySql 在启动 Xampp 时崩溃?
【发布时间】:2020-05-13 03:09:18
【问题描述】:

当我从 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 有什么关系?您是否尝试过日志中提到的问题?
  • 嘿,你有答案了吗!
  • 我卸载并重新安装了它然后就像一个魅力@Uncias

标签: php mysql crash xampp


【解决方案1】:

您的端口可能正忙。如果您使用 Linux,您可以尝试运行“lsof -i”来检测正在使用您的端口的内容。

【讨论】:

  • 我使用的是 Windows 10
  • 你可以尝试在xampp上修改mysql端口号或者输入cmd netstat -aon | findstr '[端口号]'
【解决方案2】:

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

1) 打开Xampp控制面板,点击Services

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

3)停止服务并尝试重新启动mysql

希望对你有所帮助。

【讨论】:

    猜你喜欢
    • 2016-02-16
    • 1970-01-01
    • 1970-01-01
    • 2019-11-12
    • 1970-01-01
    • 1970-01-01
    • 2015-01-07
    • 2018-11-12
    • 2012-09-12
    相关资源
    最近更新 更多