:(

Unknown MySQL server host 'localhost' (11004)

错误位置

FILE: D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\Db.class.php  LINE: 162

TRACE

[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\Db.class.php (162) DbMysql->connect(Unknown MySQL server host 'localhost' (11004))
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (94) Db->initConnect()
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (213) DbMysql->query()
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `diycms_site_list`)
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\Model.class.php (123) Model->flush(diycms_site_list)
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\Model.class.php (1175) Model->_checkTableInfo()
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\Model.class.php (98) Model->db()
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Common\common.php (294) Model->__construct(0, )
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\App.class.php (63) M()
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\App.class.php (235) App::init(diycms_site_list, , )
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Lib\Core\Think.class.php (39) App::run(diycms_site_list)
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\Common\runtime.php (242) Think::start()
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\ThinkPHP\ThinkPHP.php (34) require(D:\wwwroot\new.medtl.com\ThinkPHP\Common\runtime.php)
[17-11-19 07:31:11] D:\wwwroot\new.medtl.com\index.php (18) require(D:\wwwroot\new.medtl.com\ThinkPHP\ThinkPHP.php)