Exception

Description

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

Source File

/vhost/vhostroot/hongta89/www/core/lib/mysql.class.php(25)

Stack Trace

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