Is it useful to tutor the source code every day? My brother can't install, how to install AH

Source: Internet
Author: User
Tags mysql code
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.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.