:(

SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

错误位置

FILE: /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('v_language')
#4 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Common/functions.php(621): Think\Model->__construct('language', '', '')
#8 /var/www/html/domains/www.lndopp.com/public_html/ZQ/Home/Controller/IndexController.class.php(22): M('language')
#9 [internal function]: Home\Controller\IndexController->about('')
#10 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/App.class.php(171): ReflectionMethod->invokeArgs(Object(Home\Controller\IndexController), Array)
#11 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Home\Controller\IndexController), 'about')
#12 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/App.class.php(204): Think\App::exec()
#13 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/Library/Think/Think.class.php(120): Think\App::run()
#14 /var/www/html/domains/www.lndopp.com/public_html/LNDOPPV0.1/ThinkPHP.php(97): Think\Think::start()
#15 /var/www/html/domains/www.lndopp.com/public_html/index.php(10): require('/var/www/html/d...')
#16 {main}