MAMPのMySQLが突然起動しなくなった。
mysql_error_log.err を見るとInnoDBが起動できないのが原因の様子。
[ERROR] Plugin 'InnoDB' init function returned error. [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. [ERROR] Unknown/unsupported storage engine: InnoDB [ERROR] Aborting |
dbフォルダにあったlib_logfile0とlib_logfile1を捨ててたら起動できた。
なんでかな。