EasyPHP:设置root用户密码后mySQL / PHPmyAdmin不再起作用-插件'* 8AA9864C904BBB2AC83C09FA1004AC23FB18F4E8'未加载

问题描述 投票:0回答:1

这是在EasyPHP的本地开发人员安装中发生的事情:

  1. 我为root用户设置了通过PHPmyAdmin的密码(因为我需要为新用户提供密码,并且似乎如果root用户没有密码,则不会保存新用户的密码)

    ] >
  2. 在配置文件config.inc.php中,我按定义设置了密码

  3.       /* Authentication type */
          $cfg['Servers'][$i]['auth_type'] = 'config';
          $cfg['Servers'][$i]['user'] = 'root';
          $cfg['Servers'][$i]['password'] = 'Soksunae123';
          /* Server parameters */
          $cfg['Servers'][$i]['host'] = '127.0.0.1';
          $cfg['Servers'][$i]['connect_type'] = 'tcp';
          $cfg['Servers'][$i]['compress'] = false;
          /* Select mysql if your server does not have mysqli */
          $cfg['Servers'][$i]['extension'] = 'mysqli';
          $cfg['Servers'][$i]['AllowNoPassword'] = true;
          $cfg['Servers'][$i]['hide_db'] = '(mysql|information_schema|performance_schema|test|phpmyadmin)';
    
  1. 我重新启动了所有服务器(而且,由于它不起作用,所以我重新启动了Windows系统)

  2. [当我尝试运行PHPmyAdmin时出现此错误

  3. enter image description here

  1. 如果我尝试通过控制台访问,则在编辑密码后,显然未收到相同的错误“#1524-插件'* 8AA9864C904BBB2AC83C09FA1004AC23FB18F4E8'未加载”

  2. [查看EasyPHP主页中的PHPmyAdmin的设置,似乎未为root用户设置pw(但是可能不正确,因为通过控制台访问时,使用正确的pw会得到相同的错误)

  3. enter image description here

任何想法?谢谢。

这在EasyPHP的本地开发人员安装中发生了这件事:我通过root用户设置了PHPmyAdmin密码(因为我需要为新用户输入密码,并且看来如果是root ...

mysql phpmyadmin easyphp
1个回答
0
投票
MySQL对每个登录都有一个设置,您可以在其中控制该用户可用于登录的主机。设置根密码时,可能还会将允许的主机更改为“%”(所有主机),这会阻止本地登录(您的phpMyAdmin实例可能正在本地计算机上运行)。有关发生这种情况的可能解释,请参见this answer(我很确定这是正确的)。
© www.soinside.com 2019 - 2024. All rights reserved.