phpMyAdmin 登录错误 Login without a password is forbidden by configuratio

phpMyAdmin 登录时候的错误:Login without a password is forbidden by configuration (see AllowNoPassword)

在 phpMyAdmin 的安装路径下,复制 config.sample.inc.php 修改为 config.inc.php

修改$cfg['Servers'][$i]['AllowNoPassword'] = false;$cfg['Servers'][$i]['AllowNoPassword'] = true;

重新登录,就可以进行无密码登录了。