:(

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

错误位置

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

TRACE

#0 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('rancy_case')
#4 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /www/tech.lingxiren.com/ThinkPHP/Common/functions.php(621): Think\Model->__construct('case', '', '')
#8 /www/tech.lingxiren.com/Application/Pc/Controller/IndexController.class.php(43): M('case')
#9 [internal function]: Pc\Controller\IndexController->detail()
#10 /www/tech.lingxiren.com/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Pc\Controller\IndexController))
#11 /www/tech.lingxiren.com/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Pc\Controller\IndexController), 'detail')
#12 /www/tech.lingxiren.com/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#13 /www/tech.lingxiren.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#14 /www/tech.lingxiren.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#15 /www/tech.lingxiren.com/index.php(22): require('/www/tech.lingx...')
#16 {main}