title: Login ERROR 1698 (28000): Access denied for user 'root'@'localhost'
body: <p>I just installed MySQL server on my Ubuntu machine. All installed ok, when it asked for my password, I simply hit 'enter' so as to leave the password blank. Now when I try to login:</p>
  
  <pre><code>mysql -u root -p
  </code></pre>
  
  <p>and simply hit enter, I get the following error:</p>
  
  <blockquote>
    <p>ERROR 1698 (28000): Access denied for user 'root'@'localhost'</p>
  </blockquote>
  
  <p>I don't understand what the error is or how to fix it. Please can someone help? I've tried to read the MYSQL Docs but I don't understand what they're saying.</p>
  
  <p>I also get an "Access Denied" page when I try to access phpMyAdmin</p>