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

错误位置

FILE: /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 105

TRACE

#0 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Db/Driver.class.php(105): E('SQLSTATE[HY000]...')
#1 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Db/Driver.class.php(1037): Think\Db\Driver->connect()
#2 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(50): Think\Db\Driver->initConnect(true)
#3 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Model.class.php(132): Think\Db\Driver\Mysql->getFields('jzk_config')
#4 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Model.class.php(120): Think\Model->flush()
#5 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Model.class.php(1431): Think\Model->_checkTableInfo()
#6 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Model.class.php(95): Think\Model->db(0, '', true)
#7 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Common/functions.php(628): Think\Model->__construct('Config', '', '')
#8 /www/wwwroot/gdszjk.org.cn/jzk/Application/Common/Api/ConfigApi.class.php(20): M('Config')
#9 [internal function]: Common\Api\ConfigApi::lists()
#10 /www/wwwroot/gdszjk.org.cn/jzk/Application/Common/Common/function.php(875): call_user_func_array('Common\\Api\\Conf...', Array)
#11 /www/wwwroot/gdszjk.org.cn/jzk/Application/Common/Controller/AppframeController.class.php(33): api('Config/lists')
#12 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Controller.class.php(41): Common\Controller\AppframeController->_initialize()
#13 /www/wwwroot/gdszjk.org.cn/jzk/Application/Common/Controller/AppframeController.class.php(27): Think\Controller->__construct()
#14 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Common/functions.php(688): Common\Controller\AppframeController->__construct()
#15 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/App.class.php(81): controller('Index', '')
#16 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/App.class.php(194): Think\App::exec()
#17 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#18 /www/wwwroot/gdszjk.org.cn/jzk/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#19 /www/wwwroot/gdszjk.org.cn/jzk/index.php(40): require('/www/wwwroot/gd...')
#20 {main}