xampp链接Admin界面报错

报错信息:php

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.mysql

 

这个是因为修改了mysql密码致使的。sql

 

解决办法:浏览器

修改config.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'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';spa

 

完了可能要重启xampp服务,若是仍是不行,尝试清空你的浏览器的缓存。orm

相关文章
相关标签/搜索