:(

Lost connection to MySQL server at 'reading initial communication packet', system error: 113

错误位置

FILE: /var/www/html/new_qifeng/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Core/Db.class.php (749) DbMysql->query(SELECT COUNT(*) AS tp_count FROM `book` `b`,`book_category` `bc` WHERE ( b.f_category_id=bc.id and bc.fid=0 and b.is_display='Y' and b.check_result='Y' ) LIMIT 1 )
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Core/Model.class.php (722) Db->select(Array)
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Core/Model.class.php (239) Model->getField(COUNT(*) AS tp_count)
[20-10-25 22:51:10] /var/www/html/new_qifeng/Lib/Action/TopAction.class.php (521) Model->__call(count, Array)
[20-10-25 22:51:10] /var/www/html/new_qifeng/Lib/Action/TopAction.class.php (521) Model->count()
[20-10-25 22:51:10] () TopAction->more()
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Core/App.class.php (171) ReflectionMethod->invoke()
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/Common/runtime.php (242) Think::start()
[20-10-25 22:51:10] /var/www/html/new_qifeng/ThinkPHP/ThinkPHP.php (30) require(/var/www/html/new_qifeng/ThinkPHP/Common/runtime.php)
[20-10-25 22:51:10] /var/www/html/new_qifeng/index.php (56) require(/var/www/html/new_qifeng/ThinkPHP/ThinkPHP.php)