Incorrect key file for table '/tmp/#sql_78d_0.MYI'; try to repair it(No Description) sql: SELECT p.* FROM products p, products_categories pc WHERE p.parent_id = 0 AND p.id = pc.product_id AND pc.category_id = '34' AND p.id <> '3196' ORDER BY RAND()