1 頁 (共 1 頁)

如何利用 phpMyAdmin 修復資料表

發表於 : 2010-08-12, 20:00
心靈捕手
前言:

如果您的論壇出現類似的訊息,那麼表示您得進(phpbb3)資料庫去修復(phpbb_sessions)資料表了。

代碼: 選擇全部

General Error
SQL ERROR [ mysql4 ]

Table '.\phpbb3\phpbb_sessions' is marked as crashed and should be repaired [145]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
方法:
  1. 如果可以的話,那麼建議使用 phpMyAdmin 這個資料庫管理工具。
  2. 登入 phpMyAdmin 之後,點選您論壇的資料庫。
    修復資料表_01.png
  3. 接著,勾選選相關的資料表,或於表格下方點選「全選」。
  4. 最後,於表格下方之下拉式選單中,點選「修復資料表」即可。
    修復資料表_02.jpg
後記:

當然,您也可以找到資料庫後,再勾選需要修復的資料表,進行修復;
上頭的說明步驟中,「全選」只是一個變通的方法,省略勾選的動作。

參考連結: