Show "Error: MySQL shutdown unexpectedly"? error again and again how to fix permanent

Viewed 59

When I open XAMPP and click start MySQL button and it gives me an error.

I have follow this steps to fix the problem:

  1. Rename folder mysql/data to mysql/data_old
  2. Make a copy of mysql/backup folder and name it as mysql/data
  3. Copy all your database folders from mysql/data_old into mysql/data (except mysql, performance_schema, and phpmyadmin folders)
  4. Copy mysql/data_old/ibdata1 file into mysql/data folder
  5. Start MySQL from XAMPP control panel

I have follow this steps but after few days same error repeated. and these solution worked after follow 4 to 5 time. Still facing the problem.

Can you please mention any other possible problem ??

Thanks in advance.

1 Answers
Related