Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Medmont on November 21, 2018, 07:22:10 PM

Title: "marked as crashed and should be repaired"
Post by: Medmont on November 21, 2018, 07:22:10 PM
To whom it may concern;

Our SMF forum is displaying the following:


Database Error
Table '.\mysql_67896_medmontforum\smf_log_online' is marked as crashed and should be repaired
File: E:\web\medmontt\forum\Sources\Subs.php
Line: 2685

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.15, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php.



What is the best way to resolve this?

Many thanks,


James
Title: Re: "marked as crashed and should be repaired"
Post by: vbgamer45 on November 21, 2018, 07:38:03 PM
In phpmyadmin or from mysql prompt
run this SQL command on your database

REPAIR TABLE smf_log_online;