'Problem connection with MAMP to MySQL after I changed password in PhpMyAdmin

I have a big issue with MAMP. I changed the password in phpMyAdmin, big error, now, I'm blocked for starting and connecting MySQL.

I tried to resolve this with terminal, with the file php (username and password of phpmyadmin) and even reinstall MAMP but I have the same problem with the copied folder "db".

I just want to get my database back !

Thanks for helping me.

EDIT : I recovered my database with this https://gist.github.com/premitheme/c45a036e9c6d62662d081c302f51ff20



Sources

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

Source: Stack Overflow

Solution Source