title: Mac mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost'
body: <p>Mac 10.10.1, Mysql 5.6.22</p>
  
  <p>When I install mysql in my mac,and I write <code>mysql -u root -p</code> on the Terminal,it occur the error:</p>
  
  <blockquote>
    <p>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)</p>
  </blockquote>
  
  <p>When I use <strong>Sequel PrO</strong> to connect the mysql,it occur the same error.</p>
  
  <p>I try many method in stackoverflow,suck reset mysql password,and so on,it doesn't work</p>
  
  <p>Any solution for this?</p>