:)

SQLSTATE[HY000] [2003] Can't connect to MySQL server on '112.74.17.188' (111)

错误位置

FILE: /var/www/tmtonline/simplewind/Core/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /var/www/tmtonline/simplewind/Core/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /var/www/tmtonline/simplewind/Core/Library/Think/Db/Driver.class.php(1077): Think\Db\Driver->connect()
#2 /var/www/tmtonline/simplewind/Core/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /var/www/tmtonline/simplewind/Core/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('mat_siteconf')
#4 /var/www/tmtonline/simplewind/Core/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /var/www/tmtonline/simplewind/Core/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /var/www/tmtonline/simplewind/Core/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /var/www/tmtonline/simplewind/Core/Common/functions.php(648): Think\Model->__construct('siteconf', '', '')
#8 /var/www/tmtonline/application/Common/Common/function.php(392): M('siteconf')
#9 /var/www/tmtonline/application/Common/Controller/HomebaseController.class.php(166): get_site_options()
#10 /var/www/tmtonline/simplewind/Core/Library/Think/Controller.class.php(41): Common\Controller\HomebaseController->_initialize()
#11 /var/www/tmtonline/application/Common/Controller/HomebaseController.class.php(10): Think\Controller->__construct()
#12 /var/www/tmtonline/simplewind/Core/Common/functions.php(708): Common\Controller\HomebaseController->__construct()
#13 /var/www/tmtonline/simplewind/Core/Library/Think/App.class.php(89): controller('Login', '')
#14 /var/www/tmtonline/simplewind/Core/Library/Think/App.class.php(204): Think\App::exec()
#15 /var/www/tmtonline/simplewind/Core/Library/Think/Think.class.php(120): Think\App::run()
#16 /var/www/tmtonline/simplewind/Core/ThinkPHP.php(97): Think\Think::start()
#17 /var/www/tmtonline/index.php(59): require('/var/www/tmtonl...')
#18 {main}