title: My ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
body: <p>When I try to connect the MySQL Server by command:</p>
  
  <pre><code>mysql -u root -p
  </code></pre>
  
  <p>I get error "Access denied". I'm sure that the password is right.</p>
  
  <p>When I use the</p>
  
  <pre><code>mysqld --defaults-files "xxx\my.ini" --console --skip-grant-tables
  </code></pre>
  
  <p>option, I can access in, but when I quit this, access is denied again.</p>
  
  <p>How could I sovle it?</p>