How to fix MySQL Shutdown Unexpectedly Error

Errors : mysql_error.log

2020-10-22 12:48:24 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-10-22 12:48:24 0 [Note] InnoDB: Uses event mutexes
2020-10-22 12:48:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-10-22 12:48:24 0 [Note] InnoDB: Number of pools: 1
2020-10-22 12:48:24 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-10-22 12:48:24 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-10-22 12:48:24 0 [Note] InnoDB: Completed initialization of buffer pool
2020-10-22 12:48:24 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=249429322
2020-10-22 12:48:26 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-10-22 12:48:26 0 [Note] InnoDB: Removed temporary tablespace data file: “ibtmp1”
2020-10-22 12:48:26 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-10-22 12:48:26 0 [Note] InnoDB: Setting file ‘C:\xampp\mysql\data\ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …
2020-10-22 12:48:26 0 [Note] InnoDB: File ‘C:\xampp\mysql\data\ibtmp1’ size is now 12 MB.
2020-10-22 12:48:26 0 [Note] InnoDB: 10.3.16 started; log sequence number 249429331; transaction id 170022
2020-10-22 12:48:26 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-10-22 12:48:26 0 [Note] Plugin ‘FEEDBACK’ is disabled.
2020-10-22 12:48:26 0 [Note] Server socket created on IP: ‘::’.

Solution

Step 1: Open Xampp Control Panel
Step 2: Click on Config -> Click on Service and Port Settings
Step 3: Click on MySQL Tab and change port to 3307 (Note: any other port which is free in your system)
Step 4: Click on Save -> Save.
Step 5: Restart your Xampp Control Panel

Note : you have to change port number in my.ini files also.

References :

Chandan Kumar
Follow Me:
Total Page Visits: 167 - Today Page Visits: 6