title: How to change MySQL root password to default?
body: <p>My initial installation for the <strong>MySQL</strong> had no password for root. I assigned a password for root and everything worked fine. Due to some reason (don't ask why) I had to revert back to the original settings where root didn't have any password.</p>
  
  <p>I changed the root password to <code>'' (empty string)</code>. The problem now is that MySQL doesn't run with <code>'mysql -uroot'</code>, it expects a password. On running <code>'mysql -uroot -p'</code> and hitting enter on the password prompt gets me into the db, but is not same as the default setting.</p>
  
  <p>Is there any other flag/setting that I am missing to set/unset which tells mysql to not expect a password?</p>
  
  <p>Thanks</p>