MySQL shutdown unexpectedly – XAMPP

IMPORTANT Deleting this file may render any existing MySQL data unusable. Use with caution.

Here are two ways to fix the issue.

  • Exit Xampp server.
  • Go to your C:\xampp\mysql\data directory.
  • Delete the ibdata1 file.
  • Restart xampp server

It should work, if not try this one:

  • Go to your C:\xampp\mysql\backup\ directory.
  • Copied all files.
  • Paste all copied files to C:\xampp\mysql\data\.


Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Harinder Singh

Harinder Singh

My name is Harinder Singh and I specialize in Software industry. I consider myself as a life learner. I love learning new concepts, embracing new ideas and reading and searching for innovation.