Exception

Description

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

Source File

/home/landfors/public_html/core/lib/mysql.class.php(25)

Stack Trace

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