欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

修复Drupal的cache表

shiping1 的头像

今天Drupal遇到了cache表崩溃问题,错误信息如下:

user warning: Table './tilt_db/cache' is marked as crashed and should be repaired query

这个问题似乎很多人都遇到了,参见 http://drupal.org/node/73297
解决方法也比较简单,参见"Repairing a MySQL Database with phpMyAdmin"

详细步骤如下:

  1. Login to phpMyAdmin
  2. Choose the affected database. If you only have one database, it should choose it by default so you don't need to do anything.
  3. In the main panel, you should see a list of your database tables. Check the boxes by the tables that need repair.
  4. At the bottom of the window just below the list of tables, there is a drop down menu. Choose "Repair Table"

执行这些步骤之后,系统恢复正常。

然后进入“Admin”-“Site Configuration”-“Performance”,点击“Clear Cached Data”清除Drupal缓存。

来自 http://tilt.lib.tsinghua.edu.cn/node/788

普通分类: