:(

SQLSTATE[HY000] [2002] Ŀܾ޷ӡ

错误位置

FILE: D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Db\Driver\Pdo.class.php  LINE: 57

TRACE

#0 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Db\Driver\Pdo.class.php(57): E('SQLSTATE[HY000]...')
#1 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Db.class.php(166): Think\Db\Driver\Pdo->connect()
#2 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Db\Driver\Pdo.class.php(246): Think\Db->initConnect(true)
#3 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Pdo->getFields('lzb_index_slidi...')
#4 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#5 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Model.class.php(1429): Think\Model->_checkTableInfo()
#6 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 D:\wwwroot\lizhibao\ThinkPHP\Common\functions.php(529): Think\Model->__construct('index_sliding')
#8 D:\wwwroot\lizhibao\Application\Home\Controller\IndexController.class.php(14): D('index_sliding')
#9 [internal function]: Home\Controller\IndexController->index()
#10 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\App.class.php(155): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#11 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\App.class.php(193): Think\App::exec()
#12 D:\wwwroot\lizhibao\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#13 D:\wwwroot\lizhibao\ThinkPHP\ThinkPHP.php(96): Think\Think::start()
#14 D:\wwwroot\lizhibao\index.php(30): require('D:\wwwroot\lizh...')
#15 {main}