'Error with MAMP PRO - Access denied for user 'root'@'localhost' (using password: YES)

After changing root password with new one from localhost:8888/phpMyAdmin/ I have the error - Access denied for user 'root'@'localhost' (using password: YES). The screenshot is attached

I'm using MAMP PRO. I already searched some solutions and tried to fix it but didn't work. What I've already done, is to change "root" with my new password in the following files.

/Applications/MAMP/bin/phpMyAdmin/config.inc.php

/Applications/MAMP/bin/checkMysql.sh

/Applications/MAMP/bin/quickCheckMysqlUpgrade.sh

/Applications/MAMP/bin/repairMysql.sh

/Applications/MAMP/bin/stopMysql.sh

/Applications/MAMP/bin/upgradeMysql.sh

To check how I made this I also add the screenshot of it.

Is there anything else I can do?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source