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

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';

上一篇:Redis轻快入门


下一篇:[LeetCode] Binary Tree Maximum Path Sum(最大路径和)