Home  >  Article  >  Backend Development  >  有用过天天家教源码的吗?小弟我的无法安装,如何安装啊

有用过天天家教源码的吗?小弟我的无法安装,如何安装啊

WBOY
WBOYOriginal
2016-06-13 11:10:201092browse

有用过天天家教源码的吗?我的无法安装,怎么安装啊?
有用过天天家教源码的吗?我的无法安装,总是显示连接不上数据库。我各种改了数据库信息,但还是连不上。有用过并能成功安装上的教一下呗!错误代码如下:


系统发生错误 
您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]
错误位置: FILE: D:\wamp\www\website\ThinkPHP\Lib\Think\Db\Db.class.php LINE: 243

[ 错误信息 ]

Access denied for user 'root'@'localhost' (using password: YES)

[ TRACE ]

[12-12-30 21:04:12] D:\wamp\www\website\ThinkPHP\Lib\Think\Db\Db.class.php (243) DbMysql->connect()
[12-12-30 21:04:12] D:\wamp\www\website\ThinkPHP\Lib\Think\Db\Driver\DbMysql.class.php (110) Db->initConnect()
[12-12-30 21:04:12] D:\wamp\www\website\ThinkPHP\Lib\Think\Db\Driver\DbMysql.class.php (262) DbMysql->query(SHOW COLUMNS FROM `info_detail`)
[12-12-30 21:04:12] D:\wamp\www\website\ThinkPHP\Lib\Think\Core\Model.class.php (136) DbMysql->getFields(info_detail)
[12-12-30 21:04:12] D:\wamp\www\website\ThinkPHP\Lib\Think\Core\Model.class.php (120) Model->flush()
[12-12-30 21:04:12] D:\wamp\www\website\ThinkPHP\Lib\Think\Core\Model.class.php (98) Model->_checkTableInfo()
[12-12-30 21:04:12] D:\wamp\www\website\Lib\Action\Public\PublicInfo.class.php (12) Model->__construct(info_detail)
[12-12-30 21:04:12] D:\wamp\www\website\Lib\Action\Public\PublicInfo.class.php (86) PublicInfo->getInfo(info_detail, ttedu_btype_id, 17, 6)
[12-12-30 21:04:12] D:\wamp\www\website\Lib\Action\Home\IndexAction.class.php (11) PublicInfo->right_foot()
[12-12-30 21:04:12] D:\wamp\www\website\Runtime\~runtime.php (2) IndexAction->_initialize()
[12-12-30 21:04:12] D:\wamp\www\website\Runtime\~runtime.php (2) Action->__construct()
[12-12-30 21:04:12] D:\wamp\www\website\Runtime\~runtime.php (2) A(Home.Index)
[12-12-30 21:04:12] D:\wamp\www\website\Runtime\~runtime.php (2) App::exec()
[12-12-30 21:04:12] D:\wamp\www\website\index.php (20) App::run()


天天家教??源码
------解决方案--------------------
找到
FILE: D:\wamp\www\website\ThinkPHP\Lib\Think\Db\Db.class.php LINE: 243

把mysql的密码写对了
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn