When I start MySQL on XAMPP, it shut down unexpectedly. But when I check the log error, it shows as below:
<code>2024-06-21 11:01:02 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 12900
2024-06-21 11:01:02 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-06-21 11:01:02 0 [Note] InnoDB: Uses event mutexes
2024-06-21 11:01:02 0 [Note] InnoDB: Compressed tables use zlib 1.3
2024-06-21 11:01:02 0 [Note] InnoDB: Number of pools: 1
2024-06-21 11:01:02 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-06-21 11:01:02 0 [Note] InnoDB: Initializing buffer pool, total size = 64M, instances = 1, chunk size = 64M
2024-06-21 11:01:02 0 [Note] InnoDB: Completed initialization of buffer pool
2024-06-21 11:01:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-06-21 11:01:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-06-21 11:01:02 0 [Note] InnoDB: Setting file 'C:xamppmysqldataibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-06-21 11:01:02 0 [Note] InnoDB: File 'C:xamppmysqldataibtmp1' size is now 12 MB.
2024-06-21 11:01:02 0 [Note] InnoDB: Waiting for purge to start
2024-06-21 11:01:02 0 [Note] InnoDB: 10.4.32 started; log sequence number 152406619; transaction id 27647
2024-06-21 11:01:02 0 [Note] InnoDB: Loading buffer pool(s) from C:xamppmysqldataib_buffer_pool
2024-06-21 11:01:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-06-21 11:01:02 0 [Note] Server socket created on IP: '::'.
</code>
<code>2024-06-21 11:01:02 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 12900
2024-06-21 11:01:02 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-06-21 11:01:02 0 [Note] InnoDB: Uses event mutexes
2024-06-21 11:01:02 0 [Note] InnoDB: Compressed tables use zlib 1.3
2024-06-21 11:01:02 0 [Note] InnoDB: Number of pools: 1
2024-06-21 11:01:02 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-06-21 11:01:02 0 [Note] InnoDB: Initializing buffer pool, total size = 64M, instances = 1, chunk size = 64M
2024-06-21 11:01:02 0 [Note] InnoDB: Completed initialization of buffer pool
2024-06-21 11:01:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-06-21 11:01:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-06-21 11:01:02 0 [Note] InnoDB: Setting file 'C:xamppmysqldataibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-06-21 11:01:02 0 [Note] InnoDB: File 'C:xamppmysqldataibtmp1' size is now 12 MB.
2024-06-21 11:01:02 0 [Note] InnoDB: Waiting for purge to start
2024-06-21 11:01:02 0 [Note] InnoDB: 10.4.32 started; log sequence number 152406619; transaction id 27647
2024-06-21 11:01:02 0 [Note] InnoDB: Loading buffer pool(s) from C:xamppmysqldataib_buffer_pool
2024-06-21 11:01:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-06-21 11:01:02 0 [Note] Server socket created on IP: '::'.
</code>
2024-06-21 11:01:02 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 12900
2024-06-21 11:01:02 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-06-21 11:01:02 0 [Note] InnoDB: Uses event mutexes
2024-06-21 11:01:02 0 [Note] InnoDB: Compressed tables use zlib 1.3
2024-06-21 11:01:02 0 [Note] InnoDB: Number of pools: 1
2024-06-21 11:01:02 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-06-21 11:01:02 0 [Note] InnoDB: Initializing buffer pool, total size = 64M, instances = 1, chunk size = 64M
2024-06-21 11:01:02 0 [Note] InnoDB: Completed initialization of buffer pool
2024-06-21 11:01:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-06-21 11:01:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-06-21 11:01:02 0 [Note] InnoDB: Setting file 'C:xamppmysqldataibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-06-21 11:01:02 0 [Note] InnoDB: File 'C:xamppmysqldataibtmp1' size is now 12 MB.
2024-06-21 11:01:02 0 [Note] InnoDB: Waiting for purge to start
2024-06-21 11:01:02 0 [Note] InnoDB: 10.4.32 started; log sequence number 152406619; transaction id 27647
2024-06-21 11:01:02 0 [Note] InnoDB: Loading buffer pool(s) from C:xamppmysqldataib_buffer_pool
2024-06-21 11:01:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-06-21 11:01:02 0 [Note] Server socket created on IP: '::'.
It does not show any errors; therefore, I have no clue to fix it.
Here are what I tried, but nothing works:
- Check if port 3306 is used anywhere by command “`netstat -ano | findstr :3306
- Increase innodb_buffer_pool_size to 64MB
- Increase max_execute_time to 600
Sometime, when I tried to click Start in XAMPP many times, it is able to start MySQL on port 3306. But then I go to phpMyAdmin, it load like forever. The funny thing is that yesterday I am still able to start MySQL. But today I can’t.
Please help me with this issue. Thank you very much.