:(

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

错误位置

FILE: /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `think_article`)
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(think_article)
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/Model.class.php (1176) Model->_checkTableInfo()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Common/common.php (294) Model->__construct(article, , )
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/Home/Lib/Action/CommonAction.class.php (27) M(article)
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/Home/Lib/Action/IndexAction.class.php (4) CommonAction->__construct()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Common/common.php (321) IndexAction->__construct()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/App.class.php (103) A(Index)
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/Common/runtime.php (242) Think::start()
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/ThinkPHP/ThinkPHP.php (30) require(/home/szlamhep/public_html/pt/ThinkPHP/Common/runtime.php)
[17-10-22 19:42:10] /home/szlamhep/public_html/pt/index.php (19) require(/home/szlamhep/public_html/pt/ThinkPHP/ThinkPHP.php)