Table 'online' is marked as crashed and should be repaired SELECT /*fields*/ o.ip AS id,o.* /*fields*/ FROM online o WHERE (1=1) ORDER BY 1