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