title: Mysql won't start after upgrading Mac OS X Yosemite (Mac OS 10.10)
body: <p>Right after upgrading to Mac OS Yosemite (10.10), my Mysql won't start anymore. Instead I get</p>
  
  <pre><code>MacBook-Pro:/ user$ sudo /usr/local/mysql/support-files/mysql.server start
  Starting MySQL 
  . ERROR! The server quit without updating PID file (/usr/local/mysql/data/wireless.ubc.ca.pid).
  </code></pre>
  
  <p>I tried to check version number but I also get the following error</p>
  
  <pre><code>MacBook-Pro:/ user$ /usr/local/mysql/bin/mysql -v
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  </code></pre>
  
  <p>I found lots of people having problems with XAMPP <a href="https://stackoverflow.com/questions/26438068/xampp-not-working-os-x-yosemite" title="XAMPP">not working</a> after Yosemite install, Also eclipse not working. I see many people just say reinstall. Is there anyway to fix this?</p>