:(

Unknown MySQL server host 'localhost' (11004)

错误位置

FILE: D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\Db.class.php  LINE: 162

TRACE

[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\Db.class.php (162) DbMysql->connect(Unknown MySQL server host 'localhost' (11004))
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (94) Db->initConnect()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (213) DbMysql->query()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `tupian`)
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\Model.class.php (123) Model->flush(tupian)
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\Model.class.php (1174) Model->_checkTableInfo()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\Model.class.php (98) Model->db()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Common\common.php (294) Model->__construct(0, )
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\Home\Lib\Action\IndexAction.class.php (40) M()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\Home\Lib\Action\IndexAction.class.php (15) IndexAction->FuntionName(tupian, , )
[15-09-04 20:18:09] () IndexAction->index(tupian)
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\App.class.php (171) ReflectionMethod->invoke(tupian, Array, Array, 1, indexbanner1)
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\App.class.php (207) App::exec()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Common\runtime.php (242) Think::start()
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\ThinkPHP.php (30) require(D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\Common\runtime.php)
[15-09-04 20:18:09] D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\index.php (8) require(D:\AMG_HTML\wwwroot\ArchDocs\htdocs\atelier\ThinkPHP\ThinkPHP.php)