:(

Access denied for user 'yongtai'@'localhost' to database 'sqlyongtai'

错误位置

FILE: E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Db.class.php  LINE: 162

TRACE

[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Db.class.php (162) DbMysql->connect(Access denied for user 'yongtai'@'localhost' to database 'sqlyongtai')
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (94) Db->initConnect()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (213) DbMysql->query()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `syx_config`)
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Model.class.php (123) Model->flush(syx_config)
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Model.class.php (1177) Model->_checkTableInfo()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Model.class.php (98) Model->db()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Common\common.php (294) Model->__construct(0, )
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\Web\Lib\Action\CommonAction.class.php (7) M()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Action.class.php (57) CommonAction->_initialize(config, , )
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Common\common.php (321) Action->__construct(config)
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\App.class.php (103) A()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\App.class.php (207) App::exec()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Common\runtime.php (242) Think::start(Index)
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\ThinkPHP.php (30) require(E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\Common\runtime.php)
[22-01-17 12:11:01] E:\autowebsite\2010\3\Jsytdq\wwwroot\index.php (39) require(E:\autowebsite\2010\3\Jsytdq\wwwroot\ThinkPHP\ThinkPHP.php)