DEV Community

Brian Ayienda
Brian Ayienda

Posted on

How can I solve "Error: MySQL shutdown unexpectedly"?

  1. Go to xampp
  2. Go to mysql
  3. Rename data into data_old
  4. Create a new folder name data
  5. Go to backup and copy everything
  6. Go to data and paste everything
  7. Go to data_old and copy everything
  8. Go to data and paste everything and click skip these files
  9. Go to data_old and copy ibdata1
  10. Go to data and past ibdata1 and click replace the file destination
  11. Now restart xampp and see without losing any data we fixed the problem

Top comments (0)