Skip to content
Advertisement

Xampp mysql Error: MySQL shutdown unexpectedly

when I starting mysql, giving the following error:

JavaScript

then, I check the mysql_error.log:

JavaScript

finally, I moved xampp/mysql/backup files into xampp/mysql/data and run mysql again.Then, it worked!But I don’t know why.What led to this problem.

Hope someone doubts for me!

Advertisement

Answer

If you’re not running XAMPP as an administrator, shutting down MySQL can cause corruption which means you have to repair or delete your tables. This can easily be avoided by running XAMPP as administrator.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement