:(

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

错误位置

FILE: C:\root\Lib\Core\Db.class.php  LINE: 168

TRACE

[17-01-22 18:01:01] C:\root\Lib\Core\Db.class.php (168) DbMysql->connect()
[17-01-22 18:01:01] C:\root\Lib\Driver\Db\DbMysql.class.php (96) Db->initConnect()
[17-01-22 18:01:01] C:\root\Lib\Driver\Db\DbMysql.class.php (215) DbMysql->query(SHOW COLUMNS FROM `pigcms_agent`)
[17-01-22 18:01:01] C:\root\Lib\Core\Model.class.php (135) DbMysql->getFields(pigcms_agent)
[17-01-22 18:01:01] C:\root\Lib\Core\Model.class.php (123) Model->flush()
[17-01-22 18:01:01] C:\root\Lib\Core\Model.class.php (1156) Model->_checkTableInfo()
[17-01-22 18:01:01] C:\root\Lib\Core\Model.class.php (98) Model->db(0, )
[17-01-22 18:01:01] C:\root\Common\common.php (333) Model->__construct(Agent, , )
[17-01-22 18:01:01] C:\root\PigCms\Lib\Action\BaseAction.class.php (351) M(Agent)
[17-01-22 18:01:01] C:\root\PigCms\Lib\Action\BaseAction.class.php (37) BaseAction->check_company_website()
[17-01-22 18:01:01] C:\root\PigCms\Lib\Action\Home\IndexAction.class.php (5) BaseAction->_initialize()
[17-01-22 18:01:01] C:\root\Lib\Core\Action.class.php (58) IndexAction->_initialize()
[17-01-22 18:01:01] C:\root\Common\common.php (355) Action->__construct()
[17-01-22 18:01:01] C:\root\Lib\Core\App.class.php (104) A(Home/Index)
[17-01-22 18:01:01] C:\root\Lib\Core\App.class.php (208) App::exec()
[17-01-22 18:01:01] C:\root\Lib\Core\Think.class.php (39) App::run()
[17-01-22 18:01:01] C:\root\Common\runtime.php (243) Think::start()
[17-01-22 18:01:01] C:\root\index.php (39) require(C:\root\Common\runtime.php)