编辑 lampp/etc/extral/httpd-xampp.conf 文件注释掉
连上mysql,修改mysql下root 用户的登入密码为123456,执行
UPDATE user SET password=PASSWORD('123456') WHERE user='root';
修改xamppfiles/phpmyadmin/config.inc.php文件中如下password那一行
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '123456';