XAMPP – How to solve “Error: MySQL shutdown unexpectedly”?

Method 1 (22 Dec 2021)
Stop MySQL.
Go to the C:/xampp/mysql directory and copy the data folder and keep it somewhere else (probably in another drive) as a backup.
Go to your original data folder (C:/xampp/mysql) and sort the files by ‘Type.’
Select the files that have the type INFO File and delete them (screenshot below).
Start MySQL. It should work now.

https://stackoverflow.com/questions/18022809/how-to-solve-error-mysql-shutdown-unexpectedly

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress