title: Reset MySQL root password to "default" - MAMP
body: <p>I changed my root level password on phpMyAdmin. I was unsure where to enter the password itself, as it did not give me the option (login form). I wondered if it was the php.ini file but users with read privileges  could read it if I placed the password in there. </p>
  
  <p>Now, the mysql doesn't run as I tried various online resources to fix the problem. If needs be I would delete mamp and re-install but I do not want to lose my database files. Ideally I would revert the password to default, which I believe was nothing, except now I cannot connect to phpmyadmin, or the mamp start page:</p>
  
  <pre><code>Error: Could not connect to MySQL server!
  </code></pre>
  
  <p>Any help would be great.</p>
  
  <p>UPDATE - </p>
  
  <p>Error message from mamp:</p>
  
  <pre><code>/Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
  </code></pre>