错误:MySQL 意外关闭。在 xampp 控制上

Posted

技术标签:

【中文标题】错误:MySQL 意外关闭。在 xampp 控制上【英文标题】:Error: MySQL shutdown unexpectedly. on xampp-control 【发布时间】:2020-10-26 05:10:56 【问题描述】:

我正在运行 Windows 10,当我尝试从 xampp-control 启动我的 mysql 时,我收到一条错误消息,提示 Error: MySQL shutdown unexpectedly.

我尝试了几种解决方案,例如从任务管理器中终止 mysqld 进程并删除 ibdata1 文件,但仍然遇到相同的问题...

以下是我的错误日志,请注意仅包含本月的记录

2020-07-06 11:05:10 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:05:10 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:05:10 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:05:10 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:05:10 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:05:10 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:05:10 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:05:11 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:05:11 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:05:11 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:05:11 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:05:11 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:05:11 0 [Note] InnoDB: 10.4.11 started; log sequence number 47064; transaction id 9
2020-07-06 11:05:11 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:05:11 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:05:11 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:05:11
2020-07-06 11:05:11 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:05:57 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:05:57 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:05:57 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:05:57 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:05:57 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:05:57 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:05:57 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:05:57 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:05:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:05:57 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:05:57 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:05:57 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:05:57 0 [Note] InnoDB: 10.4.11 started; log sequence number 47073; transaction id 9
2020-07-06 11:05:57 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:05:57 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:05:57 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:05:57
2020-07-06 11:05:57 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:06:07 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:06:07 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:06:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:06:07 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:06:07 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:06:07 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:06:07 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:06:07 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:06:07 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:06:07 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:06:07 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:06:07 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:06:08 0 [Note] InnoDB: 10.4.11 started; log sequence number 47082; transaction id 9
2020-07-06 11:06:08 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:06:08 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:06:08 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:06:08
2020-07-06 11:06:08 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:09:08 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:09:08 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:09:08 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:09:08 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:09:08 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:09:08 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:09:08 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:09:08 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:09:08 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:09:08 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:09:08 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:09:08 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:09:08 0 [Note] InnoDB: 10.4.11 started; log sequence number 47091; transaction id 9
2020-07-06 11:09:08 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:09:08 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:09:08 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:09:08
2020-07-06 11:09:08 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:14:58 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:14:58 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:14:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:14:58 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:14:58 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:14:58 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:14:58 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:14:59 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:14:59 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:14:59 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:14:59 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:14:59 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:14:59 0 [Note] InnoDB: 10.4.11 started; log sequence number 47116; transaction id 9
2020-07-06 11:14:59 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:14:59 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:14:59 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:14:59
2020-07-06 11:14:59 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:15:45 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:15:45 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:15:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:15:45 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:15:45 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:15:45 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:15:45 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:15:45 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:15:45 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:15:45 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:15:45 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:15:45 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:15:45 0 [Note] InnoDB: 10.4.11 started; log sequence number 47125; transaction id 9
2020-07-06 11:15:45 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:15:45 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:15:45 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:15:45
2020-07-06 11:15:45 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:22:01 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:22:01 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:22:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:22:01 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:22:01 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:22:01 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:22:01 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:22:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:22:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:22:02 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:22:02 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:22:02 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:22:02 0 [Note] InnoDB: 10.4.11 started; log sequence number 47134; transaction id 9
2020-07-06 11:22:02 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:22:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:22:02 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:22:02
2020-07-06 11:22:02 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:22:28 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:22:28 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:22:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:22:28 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:22:28 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:22:28 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:22:28 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:22:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:22:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:22:28 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:22:28 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:22:28 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:22:28 0 [Note] InnoDB: 10.4.11 started; log sequence number 47143; transaction id 9
2020-07-06 11:22:28 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:22:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:22:28 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:22:28
2020-07-06 11:22:28 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:23:39 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:23:39 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:23:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:23:39 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:23:39 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:23:39 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:23:39 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:23:40 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:23:40 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:23:40 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:23:40 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:23:40 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:23:40 0 [Note] InnoDB: 10.4.11 started; log sequence number 47152; transaction id 9
2020-07-06 11:23:40 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:23:40 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:23:40 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:23:40
2020-07-06 11:23:41 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:24:03 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:24:03 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:24:03 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:24:03 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:24:03 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:24:03 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:24:03 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:24:03 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:24:03 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:24:03 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:24:03 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:24:03 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:24:03 0 [Note] InnoDB: 10.4.11 started; log sequence number 47161; transaction id 9
2020-07-06 11:24:03 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:24:03 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:24:03 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:24:03
2020-07-06 11:24:04 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:24:34 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:24:34 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:24:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:24:34 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:24:34 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:24:34 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:24:34 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:24:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:24:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:24:35 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:24:35 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:24:35 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:24:35 0 [Note] InnoDB: 10.4.11 started; log sequence number 47170; transaction id 9
2020-07-06 11:24:35 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:24:35 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:24:35 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:24:35
2020-07-06 11:24:35 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:24:51 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:24:51 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:24:51 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:24:51 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:24:51 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:24:51 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:24:51 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:24:51 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:24:51 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:24:51 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:24:51 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:24:51 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:24:51 0 [Note] InnoDB: 10.4.11 started; log sequence number 47179; transaction id 9
2020-07-06 11:24:51 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:24:51 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:24:51 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:24:51
2020-07-06 11:24:51 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:27:02 0 [Note] InnoDB: The first innodb_system data file 'ibdata1' did not exist. A new tablespace will be created!
2020-07-06 11:27:02 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:27:02 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:27:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:27:02 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:27:02 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:27:02 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:27:02 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:27:02 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibdata1' size to 10 MB. Physically writing the file full; Please wait ...
2020-07-06 11:27:02 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibdata1' size is now 10 MB.
2020-07-06 11:27:02 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile101 size to 5242880 bytes
2020-07-06 11:27:02 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5242880 bytes
2020-07-06 11:27:02 0 [Note] InnoDB: Renaming log file C:\xampp\mysql\data\ib_logfile101 to C:\xampp\mysql\data\ib_logfile0
2020-07-06 11:27:02 0 [Note] InnoDB: New log files created, LSN=11452
2020-07-06 11:27:02 0 [Note] InnoDB: Doublewrite buffer not found: creating new
2020-07-06 11:27:03 0 [Note] InnoDB: Doublewrite buffer created
2020-07-06 11:27:03 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:27:03 0 [Note] InnoDB: Creating foreign key constraint system tables.
2020-07-06 11:27:03 0 [Note] InnoDB: Creating tablespace and datafile system tables.
2020-07-06 11:27:03 0 [Note] InnoDB: Creating sys_virtual system tables.
2020-07-06 11:27:03 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:27:03 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:27:03 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:27:03 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:27:03 0 [Note] InnoDB: 10.4.11 started; log sequence number 0; transaction id 7
2020-07-06 11:27:03 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:27:03 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:50:52 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:50:52 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:50:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:50:52 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:50:52 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:50:52 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:50:52 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:50:52 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:50:52 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:50:52 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:50:52 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:50:52 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:50:52 0 [Note] InnoDB: 10.4.11 started; log sequence number 47055; transaction id 9
2020-07-06 11:50:52 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:50:52 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:50:52 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:50:52
2020-07-06 11:50:52 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:51:52 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:51:52 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:51:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:51:52 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:51:52 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:51:52 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:51:52 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:51:53 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:51:53 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:51:53 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:51:53 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:51:53 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:51:53 0 [Note] InnoDB: 10.4.11 started; log sequence number 47064; transaction id 9
2020-07-06 11:51:53 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:51:53 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:51:53 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:51:53
2020-07-06 11:51:53 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:52:48 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:52:48 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:52:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:52:48 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:52:48 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:52:48 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:52:48 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:52:48 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:52:48 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:52:48 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:52:48 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:52:48 0 [Note] InnoDB: Waiting for purge to start
2020-07-06 11:52:48 0 [Note] InnoDB: 10.4.11 started; log sequence number 47073; transaction id 9
2020-07-06 11:52:48 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:52:48 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:52:48 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:52:48
2020-07-06 11:52:48 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-07-06 11:56:45 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-06 11:56:45 0 [Note] InnoDB: Uses event mutexes
2020-07-06 11:56:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-06 11:56:45 0 [Note] InnoDB: Number of pools: 1
2020-07-06 11:56:45 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-06 11:56:45 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-06 11:56:45 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-06 11:56:46 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-06 11:56:46 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-06 11:56:46 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-06 11:56:46 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-06 11:56:46 0 [Note] InnoDB: 10.4.11 started; log sequence number 47082; transaction id 9
2020-07-06 11:56:46 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-06 11:56:46 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-06 11:56:46 0 [Note] InnoDB: Buffer pool(s) load completed at 200706 11:56:46
2020-07-06 11:56:46 0 [Note] Server socket created on IP: '::'.

【问题讨论】:

可能有错误日志。请调查一下。您也可以在此处发布相同的内容,以便我们进行调查。 嗨@ATULKUMARSINGH 我已经更新了问题 你确定你没有另一个 mysql 服务在使用同一个端口吗?此外,您能否查看mysql错误日志以更好地了解问题。 你可能想参考一下这个,看起来和你***.com/questions/56767200/cant-run-xampp-mysql的问题有点相似。 乐于助人。 :) 【参考方案1】:

端口阻塞问题

MySql 通常在端口 3306 上启动服务器,该端口可供 Skype 等其他程序使用。确保更改端口号。

通过启动任务管理器→服务→检查使用端口3306的程序并终止(通常与操作系统无关),首先确保没有程序使用端口3306 如果完成了上述检查,则只需打开 XAMPP 控制面板 → MySql 配置 → my.ini → 将端口 3306 替换为 3307 或 3308(空闲端口)。 展开窗口→右上角的配置→服务和端口设置→MySql→主端口→3307(假设)→保存 转到安装的XAMPP文件夹→htdocs→php→php文件(配置类型)→将端口3306替换为3307→从控制面板启动服务器并检查它是否工作正常。

【讨论】:

在这种情况下,这不是问题。【参考方案2】:

我遇到了类似的问题,也尝试更改端口并删除一些文件,但即使重新安装也没有帮助,我也无法正确运行 xampp。 然后我找到了一个一直对我有帮助的解决方案。

安装 32 位和 64 位版本的 VCRUNTIME140.DLL。然后尝试运行 xampp。希望它能正常工作。

【讨论】:

以上是关于错误:MySQL 意外关闭。在 xampp 控制上的主要内容,如果未能解决你的问题,请参考以下文章

Mysql 在 Xampp 上意外关闭

错误:MySQL 意外关闭 - XAMPP

XAMPP - MySQL 意外关闭

XAMPP - MySQL意外关闭

Xampp 无法在 localhost 中运行 MySQL! - “错误:MySQL 意外关闭。”

Xampp MySql 错误:MySQL 意外关闭