Exception

Description

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

Source File

D:\wwwroot\dfamsa.com\wwwroot\core\lib\mysql.class.php(21)

Stack Trace

#0 D:\wwwroot\dfamsa.com\wwwroot\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:\wwwroot\dfamsa.com\wwwroot\core\lib\mysql.class.php(157)mysql->__construct(Array)
#2 D:\wwwroot\dfamsa.com\wwwroot\core\Model.php(29)mysql::getInstance(Array)
#3 D:\wwwroot\dfamsa.com\wwwroot\core\App.php(382)Model->__construct()
#4 D:\wwwroot\dfamsa.com\wwwroot\core\Controller.php(293)App::singleton(CategoryModel)
#5 D:\wwwroot\dfamsa.com\wwwroot\controllers\Common.php(43)Controller::model(category)
#6 D:\wwwroot\dfamsa.com\wwwroot\controllers\ContentController.php(6)Common->__construct()
#7 D:\wwwroot\dfamsa.com\wwwroot\core\App.php(146)ContentController->__construct()
#8 D:\wwwroot\dfamsa.com\wwwroot\index.php(19)App::run(Array)