详细内容:
MySQL said:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
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.
根据提示是指没有设置root密码,可以通过修改phpmyadmin配置文件解决。
打开config.inc.php可以看到:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
这里把你的Mysql密码写进去,重新打开浏览器,输入地址就行啦。