:(

SQLSTATE[HY000] [2002] Connection timed out

错误位置

FILE: /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('gioin_config')
#4 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /home/cfbhtfmo/public_html/ThinkPHP/Common/functions.php(621): Think\Model->__construct('config', '', '')
#8 /home/cfbhtfmo/public_html/Apply/Common/Common/function.php(19): M('config')
#9 /home/cfbhtfmo/public_html/Apply/Home/Controller/BaseController.class.php(6): loadConfig()
#10 /home/cfbhtfmo/public_html/Apply/Home/Controller/IndexController.class.php(6): Home\Controller\BaseController->_initialize()
#11 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Controller.class.php(41): Home\Controller\IndexController->_initialize()
#12 /home/cfbhtfmo/public_html/ThinkPHP/Common/functions.php(681): Think\Controller->__construct()
#13 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/App.class.php(89): controller('Index', '')
#14 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#15 /home/cfbhtfmo/public_html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#16 /home/cfbhtfmo/public_html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#17 /home/cfbhtfmo/public_html/index.php(30): require('/home/cfbhtfmo/...')
#18 {main}