:(

Can't connect to MySQL server on 'localhost' (10061)

错误位置

FILE: D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Db.class.php  LINE: 168

TRACE

[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Db.class.php (168) DbMysql->connect(Can't connect to MySQL server on 'localhost' (10061))
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (96) Db->initConnect()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (215) DbMysql->query()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `think_vsite`)
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Model.class.php (123) Model->flush(think_vsite)
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Model.class.php (1156) Model->_checkTableInfo()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Model.class.php (98) Model->db()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Common\common.php (253) Model->__construct(0, )
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\Lib\Action\Home\EmptyAction.class.php (12) D()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Action.class.php (57) EmptyAction->_initialize()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Common\common.php (299) Action->__construct(Vsite)
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\App.class.php (120) A()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\App.class.php (207) App::exec()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Common\runtime.php (243) Think::start(Home/Empty)
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\ThinkPHP\ThinkPHP.php (30) require(D:\wwwroot\yunya2015\wwwroot\ThinkPHP\Common\runtime.php)
[18-10-17 12:14:10] D:\wwwroot\yunya2015\wwwroot\index.php (7) require(D:\wwwroot\yunya2015\wwwroot\ThinkPHP\ThinkPHP.php)