首页 > 解决方案 > 错误:MySQL 意外关闭。在 xampp 上

问题描述

我在 xampp 中遇到以下错误。

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

我尝试将端口从 3306 更改为 3308,然后将其更改为 3307。此外,我尝试将大小从 2MB 升级到 200MB。我也尝试这种方法:错误:MySQL 意外关闭。在 xampp-control 即使没有使用端口 3306 的服务也无法启动 mysql

如果您有任何关于此问题的信息,请告诉我。

标签: mysqlxampp

解决方案


在搜索和测试不同的方法后,我找到了答案,我只是setup_xampp.bat在 xampp 目录下运行,然后程序开始运行。


推荐阅读