伺服器意外重啟或者斷電、 MySQL 不穩定等,都有可能引起資料表損壞。本教程簡單講述如何使用 phpMyAdmin 修復資料表。
報錯資訊類似於
[145] Table './xxxx/activities' is marked as crashed and should be repaired

1 、登入 phpMyAdmin,進入 phpMyAdmin 資料列表頁面;

2 、選擇一個資料表前的方框;

3 、頁面下方 「選中項」 下拉選擇 「修復表」;