mamp pro mysql修改密码后phpmyadmin报错了

学习笔记 yekong 103℃
MySQL said:Documentation

Cannot connect: invalid settings.
mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)
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. 

出现这个错误是因为 phpMyAdmin 无法连接到 MySQL 服务器,通常是由于连接设置不正确导致的。以下是一些解决方案,帮助您解决这个问题:

之前使用数据库命令修改的密码

这里我们关闭mysql数据库后,右侧的change password就可以操作了,我们通过这个按钮修改密码后,再次启动数据库就可以了。

mamp pro mysql修改密码后phpmyadmin报错了

喜欢 (0)