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.
Cause of “Error: MySQL Shutdown Unexpectedly” in XAMPP Apart from corrupted files, improper database shut down, missing files and port changes can also cause this error. When you run MySQL in a webserver, the corrupted files in the mysql/data folder cause MySQL to shut down.
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
.
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!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With