zoukankan      html  css  js  c++  java
  • 给phpMyAdmin修改root密码后出现访问被拒绝的问题的解决办法

    在phpMyAdmin修改用户的密码其实是修改了MySQL里面用户的密码,但是phpMyAdmin这个站点本身用户的信息并没有更新。需要手动更新。

    修改文件:C:xamppphpMyAdminconfig.inc.php,找到这一节:

    /* Authentication type and info */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '';
    $cfg['Servers'][$i]['extension'] = 'mysqli';
    $cfg['Servers'][$i]['AllowNoPassword'] = true;
    $cfg['Lang'] = '';

    在password那一行加上密码就行了。其他地方都不用改。

  • 相关阅读:
    经典语录二
    squid通过正向代理访问互联网
    jQuery
    CSS常用属性
    css基本选择器
    html标签
    事件驱动模型与IO模型
    协程
    进程与线程
    软件安装 yum rpm
  • 原文地址:https://www.cnblogs.com/ingvar/p/6235591.html
Copyright © 2011-2022 走看看