:(

Access denied for user 'root'@'localhost' (using password: YES)

错误位置

FILE: E:\800lock\web\en\ThinkPHP\Lib\Core\Db.class.php  LINE: 162

TRACE

[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\Db.class.php (162) DbMysql->connect(Access denied for user 'root'@'localhost' (using password: YES))
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (94) Db->initConnect()
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (213) DbMysql->query()
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `tp_ads`)
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\Model.class.php (123) Model->flush(tp_ads)
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\Model.class.php (1176) Model->_checkTableInfo()
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\Model.class.php (98) Model->db()
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Common\common.php (294) Model->__construct(0, )
[18-09-23 09:25:09] E:\800lock\web\en\Home\Lib\Action\CommonAction.class.php (11) M()
[18-09-23 09:25:09] E:\800lock\web\en\Home\Lib\Action\IndexAction.class.php (4) CommonAction->__construct(ads, , )
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Common\common.php (321) IndexAction->__construct(ads)
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\App.class.php (105) A()
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\App.class.php (209) App::exec()
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\Common\runtime.php (242) Think::start(Index)
[18-09-23 09:25:09] E:\800lock\web\en\ThinkPHP\ThinkPHP.php (30) require(E:\800lock\web\en\ThinkPHP\Common\runtime.php)
[18-09-23 09:25:09] E:\800lock\web\en\index.php (15) require(E:\800lock\web\en\ThinkPHP\ThinkPHP.php)

博聚网