MySQL - ERROR - Unknown/unsupported storage engine - InnoDB

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Доступная цена

MySQL - ERROR - Unknown/unsupported storage engine - InnoDB

Ошибка при запуске MySQL сервера:

023-05-16 10:24:34 0 [ERROR] InnoDB: Missing FILE_CREATE, FILE_DELETE or FILE_MODIFY before FILE_CHECKPOINT for tablespace 157
2023-05-16 10:24:34 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2023-05-16 10:24:34 0 [Note] InnoDB: Starting shutdown...
2023-05-16 10:24:34 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023-05-16 10:24:34 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023-05-16 10:24:34 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-05-16 10:24:34 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2023-05-16 10:24:34 0 [ERROR] Aborting

возникает из-за утечки RAM памяти.

Решение:

# rm -rf /var/lib/mysql/ib_logfile0
# rm -rf /var/lib/mysql/ib_logfile1
# rm -rf /var/lib/mysql/ibdata1
# systemctl restart mysql

и восстановить базы из бекапов.