Exception

Description

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

Source File

/home/rodolf/public_html/core/lib/mysql.class.php(21)

Stack Trace

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