[php] "Error 1067: The process terminated unexpectedly" when trying to start MySQL

I'm using Windows 7 and running XAMPP MySQL SVC service. I'm seeing the following error:

Windows could not start the Mysql service on Local Computer.

Error 1067: The process terminated unexpectedly.

What does this mean, and how can I fix it?

This question is related to php mysql windows-7 xampp

The answer is


You need to:

  1. stop the MySQL service:
  2. Open mysql path\data
  3. Remove both ib_logfile0 and ib_logfile1.
  4. Restart the service

Similar questions with php tag:

Similar questions with mysql tag:

Similar questions with windows-7 tag:

Similar questions with xampp tag: