问题
These were the logs:
[ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files [ERROR] Plugin 'Aria' init function returned error. [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
回答1:
The solution is Removing the aria_log_control file allowed MariaDB to start again. You can find this file in \xampp\mysql\data. Then restart or start xammp.
回答2:
If XAMPP generated following logs
[Note] Plugin 'FEEDBACK' is disabled.
[ERROR] j:\xampp\mysql\bin\mysqld.exe: unknown option '--skip-federated'
[ERROR] Aborting
Try to run MySQL with the following command
**mysqld.exe --skip-federated**
Hope this helps!! Good Luck!!
来源:https://stackoverflow.com/questions/41170937/how-to-fix-error-mysql-shutdown-unexpectedly-on-xampp-due-to-plugin-aria