:(

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

错误位置

FILE: /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php  LINE: 55

TRACE

#0 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(55): E('Can't connect t...')
#1 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Db.class.php(166): Think\Db\Driver\Mysql->connect()
#2 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(92): Think\Db->initConnect(false)
#3 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(211): Think\Db\Driver\Mysql->query('SHOW COLUMNS FR...')
#4 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Model.class.php(130): Think\Db\Driver\Mysql->getFields('ly_web')
#5 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Model.class.php(118): Think\Model->flush()
#6 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Model.class.php(1298): Think\Model->_checkTableInfo()
#7 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Model.class.php(95): Think\Model->db(0, '', true)
#8 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Common/functions.php(554): Think\Model->__construct('Web', '', '')
#9 /var/www/html/kehu/hblyjt.com/wwwroot/Application/Home/Action/CommonAction.class.php(8): M('Web')
#10 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Controller.class.php(41): Home\Action\CommonAction->_initialize()
#11 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Common/functions.php(613): Think\Controller->__construct()
#12 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/App.class.php(80): controller('About', '')
#13 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/App.class.php(193): Think\App::exec()
#14 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#15 /var/www/html/kehu/hblyjt.com/wwwroot/ThinkPHP/ThinkPHP.php(96): Think\Think::start()
#16 /var/www/html/kehu/hblyjt.com/wwwroot/index.php(24): require('/var/www/html/k...')
#17 {main}