【问题标题】:Xampp mysql server suddenly not startingXampp mysql服务器突然无法启动
【发布时间】:2021-10-13 18:01:51
【问题描述】:

几个小时前我使用 Xampp 想再次启动 mysqlserver 但它给了我一个错误消息 mysql 意外关闭 enter image description here

是的,端口没有被使用,用 netstat -an | 检查。 findstr "3306" 命令 甚至尝试将端口更改为 3307,但都没有成功

并且错误日志显示没有错误:

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

【问题讨论】:

标签: mysql xampp


【解决方案1】:

如果你的MySql是新的,没有重要的数据库,你可以试试这些步骤:

  1. 关闭 Xampp 服务器
  2. 进入 C:\xampp\mysql\data 目录
  3. 删除ibdata1文件
  4. 重新启动 Xampp 服务器

删除 ibdata1 文件可能会破坏您的表,请备份所有内容。

【讨论】:

    猜你喜欢
    • 2021-03-11
    • 2021-01-24
    • 2016-04-19
    • 2021-07-21
    • 2014-11-21
    • 2016-10-02
    • 2015-07-03
    • 2014-12-22
    • 1970-01-01
    相关资源
    最近更新 更多