Tag: mysql error 126

当进行多个连接时,MySQL不正确的tmp表的密钥文件

我不是经常来这里寻求帮助,但是我很沮丧,我希望以前有人遇到过。 每当我尝试使用多个连接从表中获取logging,我得到这个错误: #126 – Incorrect key file for table '/tmp/#sql_64d_0.MYI'; try to repair it 所以这个查询会产生错误: SELECT * FROM `core_username` INNER JOIN `core_person` ON (`core_username`.`person_id` = `core_person`.`id`) INNER JOIN `core_site` ON (`core_username`.`site_id` = `core_site`.`id`) ORDER BY `core_username`.`name` ASC LIMIT 1 但是这个不会: SELECT * FROM `core_username` INNER JOIN `core_person` ON (`core_username`.`person_id` = `core_person`.`id`) ORDER BY `core_username`.`name` ASC […]

MySQL:#126 – 表格的密钥文件不正确

我从MySQL查询中得到以下错误。 #126 – Incorrect key file for table 我甚至没有为这个表格声明一个关键字,但我确实有索引。 有谁知道可能是什么问题?