:(

Access denied for user 'newcmtweb'@'%' to database 'newcms'

错误位置

FILE: /data/cmtweb/newcms/ThinkPHP/Lib/Driver/Db/DbMysql.class.php  LINE: 58

TRACE

[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (58) throw_exception(Access denied for user 'newcmtweb'@'%' to database 'newcms')
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Db.class.php (208) DbMysql->connect(Array, 1)
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Db.class.php (161) Db->multiConnect()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (101) Db->initConnect()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (227) DbMysql->query(SHOW COLUMNS FROM `cmt_articles`)
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(cmt_articles)
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Model.class.php (1197) Model->_checkTableInfo()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Common/common.php (355) Model->__construct(Articles)
[21-04-16 18:38:04] /data/cmtweb/newcms/cmt/Lib/Action/DetailAction.class.php (19) D(Articles)
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Action.class.php (102) DetailAction->_initialize()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Common/common.php (410) Action->__construct()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/App.class.php (103) A(Detail)
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/Common/runtime.php (242) Think::start()
[21-04-16 18:38:04] /data/cmtweb/newcms/ThinkPHP/ThinkPHP.php (34) require(/data/cmtweb/newcms/ThinkPHP/Common/runtime.php)
[21-04-16 18:38:04] /data/cmtweb/newcms/index.php (25) require(/data/cmtweb/newcms/ThinkPHP/ThinkPHP.php)