I am applying MAMP, but looks like the exact same problem. I changed my root password by means of phpMyAdmin and got locked out as described. I saw this thread and tried to get it dealing with the new password nevertheless the config updates didn't appear to operate for me. https://case-study-solution73648.post-blogs.com/57582866/the-greatest-guide-to-case-study-help