:(

SQLSTATE[HY000] [2002] Connection refused

错误位置

FILE: /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('tp_lianxi')
#4 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /data/wwwroot/default/kelin/ThinkPHP/Common/functions.php(621): Think\Model->__construct('lianxi', '', '')
#8 /data/wwwroot/default/kelin/Home/Home/Controller/HomeController.class.php(10): M('lianxi')
#9 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Controller.class.php(41): Home\Controller\HomeController->_initialize()
#10 /data/wwwroot/default/kelin/ThinkPHP/Common/functions.php(681): Think\Controller->__construct()
#11 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/App.class.php(89): controller('Index', '')
#12 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#13 /data/wwwroot/default/kelin/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#14 /data/wwwroot/default/kelin/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#15 /data/wwwroot/default/kelin/index.php(47): require('/data/wwwroot/d...')
#16 {main}