:(

Connection refused

错误位置

FILE: /phpstudy/www/ThinkPHP/Lib/Core/Db.class.php  LINE: 168

TRACE

[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/Db.class.php (168) DbMysql->connect()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (96) Db->initConnect()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (215) DbMysql->query(SHOW COLUMNS FROM `y_link`)
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(y_link)
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/Model.class.php (1156) Model->_checkTableInfo()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Common/common.php (277) Model->__construct(link, , )
[17-12-16 13:30:12] /phpstudy/www/home/Lib/Action/BaseAction.class.php (9) M(link)
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/Action.class.php (57) BaseAction->_initialize()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Common/common.php (299) Action->__construct()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/App.class.php (101) A(Index)
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/App.class.php (205) App::exec()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/Common/runtime.php (243) Think::start()
[17-12-16 13:30:12] /phpstudy/www/ThinkPHP/ThinkPHP.php (55) require(/phpstudy/www/ThinkPHP/Common/runtime.php)
[17-12-16 13:30:12] /phpstudy/www/index.php (15) require(/phpstudy/www/ThinkPHP/ThinkPHP.php)