:(

SQLSTATE[HY000] [2002] No such file or directory

错误位置

FILE: /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('yg_spiderlogs')
#4 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /www1/wwwroot/hutulong.com/ThinkPHP/Common/functions.php(621): Think\Model->__construct('spiderlogs', '', '')
#8 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Org/Util/Spider.class.php(8): M('spiderlogs')
#9 /www1/wwwroot/hutulong.com/Application/Common/Common/extend.php(96): Org\Util\Spider->checkspider()
#10 /www1/wwwroot/hutulong.com/Application/Home/Controller/BaseController.class.php(5): spiderlog()
#11 /www1/wwwroot/hutulong.com/ThinkPHP/Common/functions.php(681): Home\Controller\BaseController->__construct()
#12 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/App.class.php(89): controller('Index', '')
#13 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#14 /www1/wwwroot/hutulong.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#15 /www1/wwwroot/hutulong.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#16 /www1/wwwroot/hutulong.com/index.php(4): require('/www1/wwwroot/h...')
#17 {main}