31.7.09

How to repair a crashed table

After a disk space problem my Drupal site crashed. After obtaining some more disk space I got some error messages on my site saying that the cache table was crashed. To recover I had to repair it:

myisamchk --silent --force --fast --update-state /var/lib/mysql/database/cache.MYI