title: "Access denied for user 'root'@'localhost'" on a fresh install of MySQL 5.6.15 on Windows after uninstalling an older version of MySQL
body: <p>So, I've just installed MySQL 5.6.15 on my Windows machine, but for some reason I can't log in using "root" with no password.</p>
  
  <pre><code>C:\web\mysql-5.6.15-win32\bin&gt;mysql.exe -u root
  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
  </code></pre>
  
  <p>However I can login with "ODBC" and no password:</p>
  
  <pre><code>C:\web\mysql-5.6.15-win32\bin&gt;mysql.exe
  Welcome blah blah blah
  mysql&gt; SELECT USER();
  +----------------+
  | USER()         |
  +----------------+
  | ODBC@localhost |
  +----------------+
  1 row in set (0.00 sec)
  </code></pre>
  
  <p>Why can't I log in with "root" with no password?
  I've tried uninstalling MySQL and installing it again, to no avail.</p>