Exception

Description

Mysql服务器(localhost)连接失败
Error Message:Can't connect to MySQL server on 'localhost' (10061)
Error Code:2003

Source File

D:\freehost\hfls296052929\web\core\lib\mysql.class.php(21)

Stack Trace

#0 D:\freehost\hfls296052929\web\core\lib\mysql.class.php(21)Controller::halt(Mysql服务器(localhost)连接失败 
Error Message:Can't connect to MySQL server on 'localhost' (10061)
Error Code:2003.Warning)
#1 D:\freehost\hfls296052929\web\core\lib\mysql.class.php(157)mysql->__construct(Array)
#2 D:\freehost\hfls296052929\web\core\Model.php(29)mysql::getInstance(Array)
#3 D:\freehost\hfls296052929\web\core\App.php(382)Model->__construct()
#4 D:\freehost\hfls296052929\web\core\Controller.php(293)App::singleton(CategoryModel)
#5 D:\freehost\hfls296052929\web\controllers\Common.php(43)Controller::model(category)
#6 D:\freehost\hfls296052929\web\controllers\IndexController.php(6)Common->__construct()
#7 D:\freehost\hfls296052929\web\core\App.php(146)IndexController->__construct()
#8 D:\freehost\hfls296052929\web\index.php(19)App::run(Array)