:(

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

错误位置

FILE: F:\website\palmyy\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 109

TRACE

#0 F:\website\palmyy\ThinkPHP\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 F:\website\palmyy\ThinkPHP\Library\Think\Db\Driver.class.php(1075): Think\Db\Driver->connect()
#2 F:\website\palmyy\ThinkPHP\Library\Think\Db\Driver\Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 F:\website\palmyy\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('p_config')
#4 F:\website\palmyy\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#5 F:\website\palmyy\ThinkPHP\Library\Think\Model.class.php(1454): Think\Model->_checkTableInfo()
#6 F:\website\palmyy\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 F:\website\palmyy\ThinkPHP\Common\functions.php(621): Think\Model->__construct('config', '', '')
#8 F:\website\palmyy\App\Home\Controller\BaseController.class.php(18): M('config')
#9 F:\website\palmyy\ThinkPHP\Library\Think\Controller.class.php(41): Home\Controller\BaseController->_initialize()
#10 F:\website\palmyy\ThinkPHP\Common\functions.php(681): Think\Controller->__construct()
#11 F:\website\palmyy\ThinkPHP\Library\Think\App.class.php(89): controller('News', '')
#12 F:\website\palmyy\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#13 F:\website\palmyy\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#14 F:\website\palmyy\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#15 F:\website\palmyy\index.php(26): require('F:\\website\\palm...')
#16 {main}