Loading...
 
Skip to main content

History: Repair Database

Source of version: 11 (current)

Copy to clipboard
            !Repair Database
Tiki needs a database to work correctly. If you get an error like table crashed (or similar), perhaps you need to fix this and Tiki will work as expected.

{CODE(caption="example error")}
Table 'tiki_sessions' is marked as crashed and should be repaired
{CODE}



Please see some instructions 
http://php.about.com/od/mysqladministration/qt/repair_mysql.htm
or
http://kb.siteground.com/article/How_to_repair_a_MySQL_database.html
or 
http://www.google.com/search?q=How+to+repair+a+MySQL+database

{CODE(caption="Actual SQL query" wrap="1" colors="sql")}REPAIR TABLE `tiki_sessions`;{CODE}

To avoid the trouble you can also install Tiki with (or convert later) your MySQL tables to InnoDB format (instead of default MyISAM).

!!Related
* http://profiles.tiki.org/Debug_Mode_Enabled
* (alias(Repair Table))