Error: MySQL shutdown unexpectedly
[mysql] This may be due to a blocked port, missing dependencies,
[mysql] improper privileges, a crash, or a shutdown by another method.
Instead, first try using the MySQL backup folder which is included with XAMPP. So do next steps:
- Rename folder mysql/data to mysql/data_old
- Make a copy of mysql/backup folder and name it as mysql/data
- Copy all your database folders from mysql/data_old into mysql/data (except mysql, performance_schema, and phpmyadmin folders)
- Copy mysql/data_old/ibdata1 file into mysql/data folder
- Start MySQL from XAMPP control panel
출처 :
https://stackoverflow.com/questions/18022809/how-to-solve-error-mysql-shutdown-unexpectedly