Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: How to check your database for corruption.
This problem mostly seems to affect MySQL.
Your mysql database server must be running when executing the mysqlcheck command. If there are problems with the tables, the auto-repair option will fix them as shown above. Note that the repair process can take a long time to complete. Re-run the command again to double-check that all is OK.
In the databases section, select the Moodle database.
. This will either say OK or tell you what is wrong. For example it may say "Table marked as crashed".
As I said above, this issue normally only occurs with MySQL.
This page was last modified on 20 December 2010, at 20:12.