title: ERROR! The server quit without updating PID file (/usr/local/mysql/data/Mac.local.pid)
body: <p>After install, run fine mysql and restart my mac, i get this error, when i call this command line:</p>
  
  <pre><code>sudo /usr/local/mysql/support-files/mysql.server start
  </code></pre>
  
  <p>Hier the error:</p>
  
  <pre><code>ERROR! The server quit without updating PID file (/usr/local/mysql/data/Mac.local.pid).
  </code></pre>
  
  <p>And when i try to connect me to <code>mysql -u root -p</code>, this error:</p>
  
  <pre><code>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  </code></pre>
  
  <p>I try the solution in this link
  <a href="https://stackoverflow.com/questions/25954230/mysql-does-not-start-in-osx-yosemite-10-10">MySQL does not start when upgrading OSX to Yosemite or El Capitan</a>, but nothing. I also try to change the owner of the mysql folder with:</p>
  
  <pre><code>sudo chown -R _mysql:_mysql /usr/local/mysql/
  </code></pre>
  
  <p>But nothing. </p>
  
  <p>Any ideas?</p>
  
  <p>Thank</p>