報錯信息: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