xampp cannot launch mysql
XAMPP Control Panel output:
15:16:02 [mysql] Attempting to start MySQL app...
15:16:03 [mysql] Status change detected: running
15:16:04 [mysql] Status change detected: stopped
15:16:04 [mysql] Error: MySQL shutdown unexpectedly.
15:16:04 [mysql] This may be due to a blocked port, missing dependencies,
15:16:04 [mysql] improper privileges, a crash, or a shutdown by another method.
15:16:04 [mysql] Press the Logs button to view error logs and check
15:16:04 [mysql] the Windows Event Viewer for more clues
15:16:04 [mysql] If you need more help, copy and post this
15:16:04 [mysql] entire log window on the forums
mysql_error.log output:
2025-07-02 15:16:03 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 64228
2025-07-02 15:16:03 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2025-07-02 15:16:03 0 [Note] InnoDB: Uses event mutexes
2025-07-02 15:16:03 0 [Note] InnoDB: Compressed tables use zlib 1.3
2025-07-02 15:16:03 0 [Note] InnoDB: Number of pools: 1
2025-07-02 15:16:03 0 [Note] InnoDB: Using SSE2 crc32 instructions
2025-07-02 15:16:03 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2025-07-02 15:16:03 0 [Note] InnoDB: Completed initialization of buffer pool
2025-07-02 15:16:03 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2025-07-02 15:16:03 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2025-07-02 15:16:03 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2025-07-02 15:16:03 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2025-07-02 15:16:03 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2025-07-02 15:16:03 0 [Note] InnoDB: Waiting for purge to start
2025-07-02 15:16:03 0 [Note] InnoDB: 10.4.32 started; log sequence number 27985097; transaction id 39046
2025-07-02 15:16:03 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2025-07-02 15:16:03 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-07-02 15:16:03 0 [Note] Server socket created on IP: '::'.
There’s no obvious error in the log, and I’ve already tried replacing the entire XAMPP folder with a backup that used to work fine. Unfortunately, it still won’t start — MySQL shuts down right after launching.
I’ve also verified that port 3306 is not in use by any other process, and I’m running XAMPP as administrator.
Has anyone experienced this before? I’d appreciate any advice on how to fix this.
Thanks in advance!