:(

SQLSTATE[HY000] [2002] Connection refused

错误位置

FILE: /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Db/Driver.class.php(1064): Think\Db\Driver->connect()
#2 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('truein_cms_set')
#4 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Model.class.php(1434): Think\Model->_checkTableInfo()
#6 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /truein/wwwroot/website/fuliyuan/ThinkPHP/Common/functions.php(621): Think\Model->__construct('Cms_set', '', '')
#8 /truein/wwwroot/website/fuliyuan/Application/App/Controller/BaseController.class.php(155): M('Cms_set')
#9 /truein/wwwroot/website/fuliyuan/Application/App/Controller/BaseController.class.php(25): App\Controller\BaseController->checkCmsSet()
#10 /truein/wwwroot/website/fuliyuan/Application/App/Controller/IndexController.class.php(9): App\Controller\BaseController->_initialize()
#11 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Controller.class.php(41): App\Controller\IndexController->_initialize()
#12 /truein/wwwroot/website/fuliyuan/ThinkPHP/Common/functions.php(681): Think\Controller->__construct()
#13 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/App.class.php(89): controller('Index', '')
#14 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#15 /truein/wwwroot/website/fuliyuan/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#16 /truein/wwwroot/website/fuliyuan/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#17 /truein/wwwroot/website/fuliyuan/index.php(44): require('/truein/wwwroot...')
#18 {main}