:(

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

错误位置

FILE: /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect(Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2))
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (95) Db->initConnect()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (215) DbMysql->query()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `qf_config`)
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush(qf_config)
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/Model.class.php (1174) Model->_checkTableInfo()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/Model.class.php (98) Model->db()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Common/common.php (294) Model->__construct(0, )
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/App/Lib/Action/Home/BaseAction.class.php (10) M(config, , )
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/App/Lib/Action/Home/PublicAction.class.php (6) BaseAction->__construct(config)
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/App/Lib/Action/Home/CustomAction.class.php (10) PublicAction->__construct()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Common/common.php (321) CustomAction->__construct()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/App.class.php (103) A()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Lib/Core/Think.class.php (39) App::run(Home/Custom)
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Common/runtime.php (242) Think::start()
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/ThinkPHP.php (30) require(/home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/Common/runtime.php)
[20-02-17 03:16:02] /home/zzttcpa/domains/zzttcpa.com/public_html/index.php (31) require(/home/zzttcpa/domains/zzttcpa.com/public_html/ThinkPHP/ThinkPHP.php)

XML 地图 | Sitemap 地图