phpMyAdmin能打开,在权限里把root的密码改了,再打开phpMyAdmin就显示:“phpMyAdmin 试图连接到 MySQL 服务器,但服务器拒绝连接。您应该检查 config.inc.php 中的主机、用户名和密码,并且确定这些信息与 MySQL 服务器的管理员所给出的信息一致。”.遇到此类问题的解决方法:
在phpmyadmin中找到config.inc.php文件,将$cfg['Servers'][$i]['auth_type'] = ‘config’; 改为:$cfg['Servers'][$i]['auth_type'] = ‘http’; 此外修改$cfg['Servers'][$i]['password']里的密码。