:(

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

错误位置

FILE: /home/www2/nutrition/framework/Lib/Core/Db.class.php  LINE: 168

TRACE

[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/Db.class.php (168) DbMysql->connect()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Driver/Db/DbMysql.class.php (96) Db->initConnect()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Driver/Db/DbMysql.class.php (215) DbMysql->query(SHOW COLUMNS FROM `yk_foodnutrition`)
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/Model.class.php (135) DbMysql->getFields(yk_foodnutrition)
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/Model.class.php (123) Model->flush()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/Model.class.php (1156) Model->_checkTableInfo()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/Model.class.php (98) Model->db(0, )
[21-08-02 14:12:08] /home/www2/nutrition/framework/Common/common.php (278) Model->__construct(foodnutrition, , )
[21-08-02 14:12:08] /home/www2/nutrition/app/Lib/Action/toolsAction.class.php (9) M(foodnutrition)
[21-08-02 14:12:08] () toolsAction->gongnengbi()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/App.class.php (169) ReflectionMethod->invoke()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/App.class.php (205) App::exec()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Lib/Core/Think.class.php (39) App::run()
[21-08-02 14:12:08] /home/www2/nutrition/framework/Common/runtime.php (243) Think::start()
[21-08-02 14:12:08] /home/www2/nutrition/framework/run.php (31) require(/home/www2/nutrition/framework/Common/runtime.php)
[21-08-02 14:12:08] /home/www2/nutrition/index.php (11) require(/home/www2/nutrition/framework/run.php)