Table './audinew/phorum5_messages' is marked as crashed and should be repaired: select phorum5_messages.* from phorum5_messages where (forum_id = 62 OR forum_id=0) and thread=779322 AND phorum5_messages.status =2 order by message_id