:(

SQLSTATE[HY000] [2002] Connection refused

错误位置

FILE: /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Db/Driver.class.php(1068): Think\Db\Driver->connect()
#2 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Db/Driver/Mysql.class.php(50): Think\Db\Driver->initConnect(true)
#3 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('ztb_area')
#4 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Model.class.php(1432): Think\Model->_checkTableInfo()
#6 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Common/Common/corefun.php(655): Think\Model->__construct('area', '', '')
#8 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Common/Service/SubstationService.class.php(35): M('area')
#9 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Application/Content/Controller/IndexController.class.php(766): Common\Service\SubstationService::getAreaByPinyin('qishuyan')
#10 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Application/Content/Controller/IndexController.class.php(552): Content\Controller\IndexController->initCityInfo()
#11 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Application/Content/Controller/IndexController.class.php(868): Content\Controller\IndexController->web()
#12 [internal function]: Content\Controller\IndexController->city_home()
#13 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Content\Controller\IndexController))
#14 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/App.class.php(202): Think\App::exec()
#15 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/Library/Think/Think.class.php(120): Think\App::run()
#16 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/app/Core/ThinkPHP.php(97): Think\Think::start()
#17 /www/wwwroot/www.ztbweb.cn/www.ztbweb.cn/index.php(26): require('/www/wwwroot/ww...')
#18 {main}