Exception

Description

Mysql服务器(localhost)连接失败
Error Message:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
Error Code:2002

Source File

/www/htdocs/www/core/lib/mysql.class.php(21)

Stack Trace

#0 /www/htdocs/www/core/lib/mysql.class.php(21)Controller::halt(Mysql服务器(localhost)连接失败 
Error Message:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
Error Code:2002.Warning)
#1 /www/htdocs/www/core/lib/mysql.class.php(157)mysql->__construct(Array)
#2 /www/htdocs/www/core/Model.php(29)mysql::getInstance(Array)
#3 /www/htdocs/www/core/App.php(382)Model->__construct()
#4 /www/htdocs/www/core/Controller.php(296)App::singleton(CategoryModel)
#5 /www/htdocs/www/controllers/Common.php(43)Controller::model(category)
#6 /www/htdocs/www/controllers/TagController.php(8)Common->__construct()
#7 /www/htdocs/www/core/App.php(146)TagController->__construct()
#8 /www/htdocs/www/index.php(20)App::run(Array)