:(

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: System error

错误位置

FILE: /disk/cailan/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 112

TRACE

#0 /disk/cailan/ThinkPHP/Library/Think/Db/Driver.class.php(112): E('SQLSTATE[HY000]...')
#1 /disk/cailan/ThinkPHP/Library/Think/Db/Driver.class.php(1071): Think\Db\Driver->connect()
#2 /disk/cailan/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /disk/cailan/ThinkPHP/Library/Think/Model.class.php(135): Think\Db\Driver\Mysql->getFields('mo_guanggao')
#4 /disk/cailan/ThinkPHP/Library/Think/Model.class.php(123): Think\Model->flush()
#5 /disk/cailan/ThinkPHP/Library/Think/Model.class.php(1435): Think\Model->_checkTableInfo()
#6 /disk/cailan/ThinkPHP/Library/Think/Model.class.php(98): Think\Model->db(0, '', true)
#7 /disk/cailan/ThinkPHP/Common/functions.php(621): Think\Model->__construct('guanggao', '', '')
#8 /disk/cailan/Application/Index/Controller/IndexController.class.php(14): M('guanggao')
#9 /disk/cailan/ThinkPHP/Common/functions.php(681): Index\Controller\IndexController->__construct()
#10 /disk/cailan/ThinkPHP/Library/Think/App.class.php(89): controller('Index', '')
#11 /disk/cailan/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#12 /disk/cailan/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#13 /disk/cailan/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#14 /disk/cailan/index.php(37): require('/disk/cailan/Th...')
#15 {main}