Exception

Description

Mysql服务器(localhost)连接失败
Error Message:由于目标计算机积极拒绝,无法连接。
Error Code:2002

Source File

D:\phpStudySpace\htdocs\core\lib\mysql.class.php(21)

Stack Trace

#0 D:\phpStudySpace\htdocs\core\lib\mysql.class.php(21)Controller::halt(Mysql服务器(localhost)连接失败 
Error Message:由于目标计算机积极拒绝,无法连接。
Error Code:2002.Warning)
#1 D:\phpStudySpace\htdocs\core\lib\mysql.class.php(157)mysql->__construct(Array)
#2 D:\phpStudySpace\htdocs\core\Model.php(29)mysql::getInstance(Array)
#3 D:\phpStudySpace\htdocs\core\App.php(382)Model->__construct()
#4 D:\phpStudySpace\htdocs\core\Controller.php(293)App::singleton(CategoryModel)
#5 D:\phpStudySpace\htdocs\controllers\Common.php(43)Controller::model(category)
#6 D:\phpStudySpace\htdocs\controllers\ContentController.php(6)Common->__construct()
#7 D:\phpStudySpace\htdocs\core\App.php(146)ContentController->__construct()
#8 D:\phpStudySpace\htdocs\index.php(19)App::run(Array)