Is it useful to tutor the source code every day? I can't install, how to install AH?
Is it useful to tutor the source code every day? My inability to install, always shows that the connection is not on the database. I changed the database information in various ways, but I still couldn't connect. Useful and can be successfully installed on the teaching! The error code is as follows:
The system has an error
You can choose [Retry] [back] or [go home]
Error location: file:d:\wamp\www\website\thinkphp\lib\think\db\db.class.php line:243
[Error message]
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 (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 (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 (model->__construct) (Info_detail)
[12-12-30 21:04:12] D:\wamp\www\website\Lib\Action\Public\PublicInfo.class.php (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 (one) 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 () App::run ()
every day tutor?? Source Code
------Solution--------------------
Found it
file:d:\wamp\www\website\thinkphp\lib\think\db\db.class.php line:243
Write the MySQL code right.