title: Access denied for user root - mysql on MAC OS
body: <p>I know how do skip this problem on ubuntu, but how can i do it on MAC OS? </p>
  
  <p>How can i set password for mysql on MAC?</p>
  
  <p>1) Doesn't work</p>
  
  <pre><code>mysqladmin -u root password NEWPASSWORD
  </code></pre>
  
  <p>2)Doesn't work</p>
  
  <pre><code>mysqld --skip-grant-tables --skip-networking &amp;
  </code></pre>
  
  <p>3) This works:</p>
  
  <p><a href="https://stackoverflow.com/questions/10070401/mysql-root-password-forgotten/15564012#15564012">mysql root password forgotten</a></p>