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

posted @ 2016-04-07 16:22  星耀学园  阅读(303)  评论(0编辑  收藏  举报