[運維] mysql使用筆記(持續更新)
阿新 • • 發佈:2021-02-06
常用操作
- 檢視錯誤日誌
cat /var/log/mysql/error.log
- 檢視配置檔案
ls /etc/mysql/
常見錯誤處理
- 報以下錯誤資訊
[ERROR] InnoDB: Missing MLOG_CHECKPOINT at 14368196 between the checkpoint 14368196 and the end 14367744. [ERROR] InnoDB: Plugin initialization aborted with error Generic error [Note] InnoDB: Starting shutdown... [ERROR] Plugin 'InnoDB' init function returned error. [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. [Note] Plugin 'FEEDBACK' is disabled. [ERROR] Unknown/unsupported storage engine: InnoDB [ERROR] Aborting
處理方案:見CentOS下的MySQL爬坑(Plugin ‘InnoDB’ init function returned error.)