Exception

Description

Mysql服务器(localhost)连接失败
Error Message:Access denied for user 'root'@'localhost' (using password: YES)
Error Code:1045

Source File

/var/www/example_case/qzbwg/core/lib/mysql.class.php(21)

Stack Trace

#0 /var/www/example_case/qzbwg/core/lib/mysql.class.php(21)Controller::halt(Mysql服务器(localhost)连接失败 
Error Message:Access denied for user 'root'@'localhost' (using password: YES)
Error Code:1045.Warning)
#1 /var/www/example_case/qzbwg/core/lib/mysql.class.php(157)mysql->__construct(Array)
#2 /var/www/example_case/qzbwg/core/Model.php(29)mysql::getInstance(Array)
#3 /var/www/example_case/qzbwg/core/App.php(382)Model->__construct()
#4 /var/www/example_case/qzbwg/core/Controller.php(293)App::singleton(CategoryModel)
#5 /var/www/example_case/qzbwg/controllers/Common.php(43)Controller::model(category)
#6 /var/www/example_case/qzbwg/controllers/IndexController.php(6)Common->__construct()
#7 /var/www/example_case/qzbwg/core/App.php(146)IndexController->__construct()
#8 /var/www/example_case/qzbwg/index.php(19)App::run(Array)