phpmyadmin #1045 - Access denied for user 'root'@'localhost' (using password: NO)

时间:2021-10-04 21:16:17

phpmyadmin访问遇到1045问题

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

解决办法

找到phpmyadmin下的config.inc.php文件

写*问的账号密码

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '123456';