:(

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

错误位置

FILE: C:\www\minsheng\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 109

TRACE

#0 C:\www\minsheng\ThinkPHP\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 C:\www\minsheng\ThinkPHP\Library\Think\Db\Driver.class.php(1064): Think\Db\Driver->connect()
#2 C:\www\minsheng\ThinkPHP\Library\Think\Db\Driver.class.php(140): Think\Db\Driver->initConnect(false)
#3 C:\www\minsheng\ThinkPHP\Library\Think\Db\Driver.class.php(935): Think\Db\Driver->query('SELECT `col_id`...', false)
#4 C:\www\minsheng\ThinkPHP\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#5 C:\www\minsheng\Application\Index\Controller\CommonController.class.php(33): Think\Model->select()
#6 C:\www\minsheng\Application\Index\Controller\CommonController.class.php(163): Index\Controller\CommonController->getNavi()
#7 C:\www\minsheng\Application\Index\Controller\IndexController.class.php(177): Index\Controller\CommonController->getCommon()
#8 [internal function]: Index\Controller\IndexController->index()
#9 C:\www\minsheng\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Index\Controller\IndexController))
#10 C:\www\minsheng\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#11 C:\www\minsheng\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#12 C:\www\minsheng\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#13 C:\www\minsheng\index.php(25): require('C:\\www\\minsheng...')
#14 {main}