:(

SQLSTATE[HY000] [2002] Connection refused

错误位置

FILE: /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Db/Driver.class.php(1092): Think\Db\Driver->connect()
#2 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Model.class.php(135): Think\Db\Driver\Mysql->getFields('qs_config')
#4 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Model.class.php(123): Think\Model->flush()
#5 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Model.class.php(1512): Think\Model->_checkTableInfo()
#6 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /www/wwwroot/cnweld.org/ThinkPHP/Common/functions.php(599): Think\Model->__construct('Config')
#8 /www/wwwroot/cnweld.org/Application/Common/Behavior/CheckIpbanBehavior.class.php(18): D('Config')
#9 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Hook.class.php(119): Common\Behavior\CheckIpbanBehavior->run(NULL)
#10 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Hook.class.php(89): Think\Hook::exec('Common\\Behavior...', 'app_begin', NULL)
#11 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/App.class.php(199): Think\Hook::listen('app_begin')
#12 /www/wwwroot/cnweld.org/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#13 /www/wwwroot/cnweld.org/ThinkPHP/ThinkPHP.php(102): Think\Think::start()
#14 /www/wwwroot/cnweld.org/index.php(48): require('/www/wwwroot/cn...')
#15 {main}