:(

SQLSTATE[HY000] [2002] No route to host

错误位置

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

TRACE

#0 /www/www.scjql.com/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /www/www.scjql.com/ThinkPHP/Library/Think/Db/Driver.class.php(1064): Think\Db\Driver->connect()
#2 /www/www.scjql.com/ThinkPHP/Library/Think/Db/Driver.class.php(188): Think\Db\Driver->initConnect(true)
#3 /www/www.scjql.com/ThinkPHP/Library/Think/Model.class.php(1378): Think\Db\Driver->execute('select * from m...')
#4 /www/www.scjql.com/Application/Home/Controller/BaseController.class.php(14): Think\Model->execute('select * from m...')
#5 /www/www.scjql.com/ThinkPHP/Library/Think/Controller.class.php(41): Home\Controller\BaseController->_initialize()
#6 /www/www.scjql.com/ThinkPHP/Common/functions.php(681): Think\Controller->__construct()
#7 /www/www.scjql.com/ThinkPHP/Library/Think/App.class.php(89): controller('News', '')
#8 /www/www.scjql.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#9 /www/www.scjql.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /www/www.scjql.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#11 /www/www.scjql.com/index.php(5): require('/www/www.scjql....')
#12 {main}