MySQL臨時表過大報錯 |
發布時間: 2012/9/18 17:08:46 |
mysql 報如下的錯誤: ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_6613_0.MYI'; try to repair it 發現其原因是臨時表太大了,而/tmp分區只有2G,放不下就報錯了。 create temporary table tmp select ...-
create temporary table tmp row_format=fixed select ... 建表就會出現同樣的錯誤了。 所以這個問題有兩個解決方法: 本文出自:億恩科技【www.vbseamall.com】 |