Exception

Description

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

Source File

/var/www/web/tixun/public_html/system/lib/mysql.class.php(21)

Stack Trace

#0 /var/www/web/tixun/public_html/system/lib/mysql.class.php(21)Control::halt(Mysql服务器(localhost)连接失败 
Error Message:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Error Code:2002.Warning)
#1 /var/www/web/tixun/public_html/system/lib/mysql.class.php(157)mysql->__construct(Array)
#2 /var/www/web/tixun/public_html/system/Model.php(29)mysql::getInstance(Array)
#3 /var/www/web/tixun/public_html/system/App.php(382)Model->__construct()
#4 /var/www/web/tixun/public_html/system/Control.php(293)App::singleton(CategoryModel)
#5 /var/www/web/tixun/public_html/control/Common.php(85)Control::model(category)
#6 /var/www/web/tixun/public_html/control/IndexControl.php(6)Common->__construct()
#7 /var/www/web/tixun/public_html/system/App.php(146)IndexControl->__construct()
#8 /var/www/web/tixun/public_html/index.php(20)App::run(Array)