:)

SQLSTATE[HY000] [2002] Connection timed out

错误位置

FILE: /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Db/Driver.class.php(1077): Think\Db\Driver->connect()
#2 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('hr_config')
#4 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/application/Common/Model/BaseModel.class.php(21): Think\Model->__construct()
#8 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/application/Common/Model/ConfigModel.class.php(5): Common\Model\BaseModel->__construct()
#9 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/application/Common/Controller/HomebaseController.class.php(14): Common\Model\ConfigModel->__construct()
#10 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Common/functions.php(706): Common\Controller\HomebaseController->__construct()
#11 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/App.class.php(89): controller('Index', '')
#12 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/App.class.php(204): Think\App::exec()
#13 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/Library/Think/Think.class.php(120): Think\App::run()
#14 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/simplewind/Core/ThinkPHP.php(97): Think\Think::start()
#15 /home/aafa97b5-ed48-4249-8d1e-160eabb2a871/wwwroot/index.php(60): require('/home/aafa97b5-...')
#16 {main}