title: Changed root password for phpMyAdmin, now I can't access anything MAMP
body: <p>I thoroughly searched StackOverflow and Google to find an answer to this and so far nothing has helped. It's killing me because my project was pretty much finished!</p>
  
  <p>In the control panel in phpMyAdmin I changed the password for the root user from 'root' to a new password. When I quit working and came back to it I couldn't connect to the server through MAMP, receiving this error:</p>
  
  <blockquote>
    <p>Checking MySQL databases failed. Error message:
    /Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect</p>
  </blockquote>
  
  <p>And this error on my localhost page:</p>
  
  <blockquote>
    <p>Error: Could not connect to MySQL server!</p>
  </blockquote>
  
  <p>I tried many things to try to resolve this issue, most of which I found from other SO questions. They are as follows:</p>
  
  <ul>
  <li>Change the password in the config.inc.php file. I couldn't find the other files mentioned, probably because I'm not using Pro. <a href="https://stackoverflow.com/questions/10139422/mysql-and-phpmyadmin-config-inc-php-password-issue-on-mamp">MySQL and PhpMyAdmin config.inc.php Password issue on MAMP</a></li>
  <li>Change the user and password <code>$cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'NewPassword';</code> to blank values and add <code>$cfg['Servers'][$i]['AllowNoPassword'] = false;</code>. <a href="https://stackoverflow.com/questions/10574568/changed-password-in-phpmyadmin-on-a-mac-using-xampp-now-unable-to-access-localh">Changed password in phpMyAdmin on a Mac using XAMPP, now unable to access localhost/phpmyadmin</a></li>
  <li>Used terminal to change the password back to 'root', and change config.inc.php back to default. <a href="http://www.mamp.info/en/documentation/faq.html#q9" rel="nofollow noreferrer">http://www.mamp.info/en/documentation/faq.html#q9</a></li>
  <li>Tried step 2 without 'AllowNoPassword'</li>
  <li>Changed <code>$cfg['Servers'][$i]['host'] = 'localhost';</code> to <code>$cfg['Servers'][$i]['host'] = '127.0.0.1';</code></li>
  </ul>
  
  <p>I tried a bunch of other things like changing the auth_type to html, adding controluser and controlpass, and other things but no luck. Nothing seems to work.</p>