Search code examples
phpmysqlwindows-7xampp

"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?


Solution

  • Examine error log (start eventvwr.msc). MySQL typically writes something to the Application log.

    In very rare cases it does not write anything (I'm only aware of one particular bug http://bugs.mysql.com/bug.php?id=56821, where services did not work at all). There is also error log file, normally named .err in the data directory that has the same info as written to windows error log.