:(

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

错误位置

FILE: E:\WorkSpace\eduioo\core\Lib\Core\Db.class.php  LINE: 162

TRACE

[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Lib\Core\Db.class.php (162) DbMysql->connect(Can't connect to MySQL server on 'localhost' (10061))
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Lib\Driver\Db\DbMysql.class.php (94) Db->initConnect()
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Lib\Core\Model.class.php (1097) DbMysql->query()
[19-05-22 18:41:05] E:\WorkSpace\eduioo\index\Lib\Action\ObaseAction.class.php (13) Model->query(select b.name,b.s_id,b.logo,sum(a.people) as total from yqxx_course a left join yqxx_school b on b.s_id=a.school_id group by a.school_id order by total desc;)
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Lib\Core\Action.class.php (57) ObaseAction->_initialize(select b.name,b.s_id,b.logo,sum(a.people) as total from yqxx_course a left join yqxx_school b on b.s_id=a.school_id group by a.school_id order by total desc;)
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Common\common.php (468) Action->__construct()
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Lib\Core\App.class.php (103) A()
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Lib\Core\App.class.php (207) App::exec()
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Lib\Core\Think.class.php (39) App::run(School)
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\Common\runtime.php (242) Think::start()
[19-05-22 18:41:05] E:\WorkSpace\eduioo\core\core.php (30) require(E:\WorkSpace\eduioo\core\Common\runtime.php)
[19-05-22 18:41:05] E:\WorkSpace\eduioo\index.php (16) require(E:\WorkSpace\eduioo\core\core.php)