:)

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

错误位置

FILE: /data/www/default/mtconn/simplewind/Core/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /data/www/default/mtconn/simplewind/Core/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /data/www/default/mtconn/simplewind/Core/Library/Think/Db/Driver.class.php(1077): Think\Db\Driver->connect()
#2 /data/www/default/mtconn/simplewind/Core/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /data/www/default/mtconn/simplewind/Core/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('cmf_nav')
#4 /data/www/default/mtconn/simplewind/Core/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /data/www/default/mtconn/simplewind/Core/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /data/www/default/mtconn/simplewind/Core/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /data/www/default/mtconn/simplewind/Core/Common/functions.php(646): Think\Model->__construct('nav', '', '')
#8 /data/www/default/mtconn/application/Common/Controller/HomebaseController.class.php(44): M('nav')
#9 /data/www/default/mtconn/application/Portal/Controller/ProductController.class.php(10): Common\Controller\HomebaseController->_initialize()
#10 /data/www/default/mtconn/simplewind/Core/Library/Think/Controller.class.php(41): Portal\Controller\ProductController->_initialize()
#11 /data/www/default/mtconn/application/Common/Controller/HomebaseController.class.php(10): Think\Controller->__construct()
#12 /data/www/default/mtconn/simplewind/Core/Common/functions.php(706): Common\Controller\HomebaseController->__construct()
#13 /data/www/default/mtconn/simplewind/Core/Library/Think/App.class.php(89): controller('Product', '')
#14 /data/www/default/mtconn/simplewind/Core/Library/Think/App.class.php(204): Think\App::exec()
#15 /data/www/default/mtconn/simplewind/Core/Library/Think/Think.class.php(120): Think\App::run()
#16 /data/www/default/mtconn/simplewind/Core/ThinkPHP.php(97): Think\Think::start()
#17 /data/www/default/mtconn/index.php(59): require('/data/www/defau...')
#18 {main}