:(

SQLSTATE[HY000] [2002] Connection refused

错误位置

FILE: /alidata/www/www/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /alidata/www/www/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /alidata/www/www/ThinkPHP/Library/Think/Db/Driver.class.php(1064): Think\Db\Driver->connect()
#2 /alidata/www/www/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /alidata/www/www/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('gi_one')
#4 /alidata/www/www/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /alidata/www/www/ThinkPHP/Library/Think/Model.class.php(1434): Think\Model->_checkTableInfo()
#6 /alidata/www/www/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /alidata/www/www/ThinkPHP/Common/functions.php(621): Think\Model->__construct('one', '', '')
#8 /alidata/www/www/App/Home/Controller/IndexController.class.php(152): M('one')
#9 [internal function]: Home\Controller\IndexController->menu_see()
#10 /alidata/www/www/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#11 /alidata/www/www/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#12 /alidata/www/www/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#13 /alidata/www/www/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#14 /alidata/www/www/index.php(27): require('/alidata/www/ww...')
#15 {main}