當試圖啓動mysql服務器時,它返回退出代碼1.我已經完成了這一百萬這個服務器之前的時間。 在上個月沒有搞亂服務器,mysql突然停止,我無法啓動它。我的error.log:MySQL已損壞,無法啓動:「從雙寫緩衝區中恢復可能的半寫數據頁...」
[Note] InnoDB: Using mutexes to ref count buffer pool pages
[Note] InnoDB: The InnoDB memory heap is disabled
[Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
[Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
[Note] InnoDB: Compressed tables use zlib 1.2.8
[Note] InnoDB: Using Linux native AIO
[Note] InnoDB: Using SSE crc32 instructions
[Note] InnoDB: Initializing buffer pool, size = 128.0M
[Note] InnoDB: Completed initialization of buffer pool
[Note] InnoDB: Highest supported file format is Barracuda.
[Note] InnoDB: Starting crash recovery from checkpoint LSN=591771482442
Everything goes to ruin below this line.
[Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
InnoDB: Set innodb_force_recovery to ignore this error.
[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
,直到我能啓動mysql服務器,我不能運行mysqldump
也不mysql -u root
:
Got error: 2002: "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")" when trying to connect
我正在MariaDB的服務器10.1.23-9-deb9u1。
錯誤日誌中是否有任何內容替代「一切都會在這條線下面毀滅?」?懷疑沒有任何失敗的雙寫緩衝區恢復會導致InnoDB失敗 –