title: 'root'@'localhost' access denied, no password used
body: <p>I have downloaded WAMPServer to learn PHP and MySQL. While invoking MySQL console, when I press Enter at the password prompt, I get the following error:</p>
  
  <pre><code>error 1045 (28000) access denied for user 'root'@'localhost' (using password: NO)
  </code></pre>
  
  <p>I get the same error if I try to start mysql from the command line. Any thoughts on how to resolve this issue?</p>
  
  <p>Please note that I have seen similar questions on stackoverflow regarding this error but majority of those questions had (using password: YES).</p>