尝试通过 phpmyadin 连接到 mySql 时收到以下错误:
MySQL 说:
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.
我能够使用控制台设置 localhost 的密码。我还在 config.inc.php 文件中设置了密码。
有什么建议么?
答案1
看来您已经更改了 Mysql 的密码,但尚未更新 PHP Myadmin 配置文件上的密码。