title: homebrew: MySQL not starting, Can't update PID file
body: <p>I am a new Mac user and trying to set up the development environment with Apache, PHP and MySQL. Initially, after a lot of installs and reinstalls i succeeded in installing MySQL (Apache and PHP came bundled with Mac) but now again mysql refuses to start up and gives the error, <code>The server quit without updating PID file (/usr/local/var/mysql/Nikhils-MacBook-Pro.local.pid)</code>. </p>
  
  <p>I have literally gone through entire SO questions regarding this problem but have not found a way to fix this and i mean i have done everything to start this but in vain. I have created the PID file too but it disappears in moments, i did a cleanup and reinstall using this <a href="https://stackoverflow.com/questions/4359131/brew-install-mysql-on-mac-os/6378429#6378429">SO Question</a> but it has failed <strong>YET</strong> again. Please, i need to get my server started, i am really losing on to serious work and time.</p>
  
  <p>Is there any other miraculous way to fix this unattainable feat? Also, if anyone asks what is the error in the log files, please don't as there is no log being registered as the server hasn't started yet.</p>