系统发生错误您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]
错误位置: FILE: D:\freehost\wanzhong\web\thinkphp\Lib\Think\Db\Db.class.php LINE: 195[ 错误信息 ]
Access denied for user 'limao4000'@'localhost' (using password: YES)[ TRACE ]
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Db\Db.class.php (195) DbMysql->connect(Access denied for user 'limao4000'@'localhost' (using password: YES))
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Db\Driver\DbMysql.class.php (115) Db->initConnect()
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Db\Driver\DbMysql.class.php (265) DbMysql->query()
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Core\Model.class.php (138) DbMysql->getFields(SHOW COLUMNS FROM `think_index`)
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Core\Model.class.php (122) Model->flush(think_index)
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Core\Model.class.php (100) Model->_checkTableInfo()
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Common\functions.php (500) Model->__construct()
[13-06-30 12:23:06] D:\freehost\wanzhong\web\Lib\Action\IndexAction.class.php (5) M()
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Core\App.class.php (269) IndexAction->index(index)
[13-06-30 12:23:06] D:\freehost\wanzhong\web\thinkphp\Lib\Think\Core\App.class.php (297) App::exec(index)
[13-06-30 12:23:06] D:\freehost\wanzhong\web\index.php (5) App::run()

解决方案 »

  1.   

    D:\freehost\wanzhong\web\thinkphp\Lib\Think\Db\Db.class.php LINE: 195
    配置文件中将用户名和密码改为你自己的
      

  2.   

    Access denied for user 'limao4000'@'localhost' (using password: YES)检查数据库权限。
      

  3.   

    权限问题。
    --查看MySQL用户权限:
    show grants for 你的用户
      

  4.   

    搬迁前后 都是同一台主机嘛?
     'limao4000'@'localhost'  修改mysql 服务器连接为你的数据库所在服务器的ip