:(

SQLSTATE[HY000]: General error: 126 Incorrect key file for table 'C:\Windows\TEMP\#sql5dc_5d2a82_7.MYI'; try to repair it

错误位置

FILE: D:\web\web01\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 175

TRACE

#0 D:\web\web01\ThinkPHP\Library\Think\Db\Driver.class.php(175): PDOStatement->execute()
#1 D:\web\web01\ThinkPHP\Library\Think\Db\Driver\Mysql.class.php(56): Think\Db\Driver->query('SHOW COLUMNS FR...')
#2 D:\web\web01\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('tp_goods_attr')
#3 D:\web\web01\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#4 D:\web\web01\ThinkPHP\Library\Think\Model.class.php(1434): Think\Model->_checkTableInfo()
#5 D:\web\web01\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#6 D:\web\web01\ThinkPHP\Common\functions.php(621): Think\Model->__construct('goods_attr', '', '')
#7 D:\web\web01\Application\Home\Logic\GoodsLogic.class.php(178): M('goods_attr')
#8 D:\web\web01\Application\Home\Controller\GoodsController.class.php(126): Home\Logic\GoodsLogic->get_filter_attr(NULL, Array, 'Category', 1)
#9 [internal function]: Home\Controller\GoodsController->category()
#10 D:\web\web01\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\GoodsController))
#11 D:\web\web01\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#12 D:\web\web01\ThinkPHP\Library\Think\Think.class.php(122): Think\App::run()
#13 D:\web\web01\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#14 D:\web\web01\index.php(37): require('D:\\web\\web01\\Th...')
#15 {main}