I'm able to log in to phpmyadmin with such user. In the You can't anymore log in with root account to phpmyadmin. Mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client. The host value for root is preventing access via phpMyAdmin. However, if you still can't log in, it may be due to one of the following reasons: You have forgotten your root password. I installed MAMP (version 5.01) on my Mac and I tried changing the password of the MySQL root user following the instruction on the MAMP web site, error: 'Access denied for user (using password: YES)'.
× it give me error mysqlireal_connect(): (HY000/1045): Access denied for.
How can I solve error 'SQLSTATE Can't connect to If you run into issues leave a comment, or add your own answer to help others. This may happen if your MySQL database user was not granted the necessary rights to access the database. #1045 Access Denied for user (using password: YES). This may happen if your database user was not granted the necessary rights to access the database. After installing a local WAMP server and trying to access your phpMyAdmin, you may encounter the error: #1045 Access Denied for user (using password: YES).