Error the server quit without updating pid file
I successfully installed Python and My SQL via Home Brew. After My SQL Installation, I followed the first 2 steps - unset and the November, 2014: If you're getting this error on My SQL 5.6.x on Mac OS X Mavericks or Yosemite and want to use My SQL with PHP locally (/tmp/is where PHP PDO expects to find the sock file), here is what fixed it for me:1) Uncomment the default homebrew config file lines and edit as below Network as the unique id for your computer on the network.2) Set permissions on all the files in the mysql datadir. My SQL is very picky about this and refuses to create the pid file unless it (the user _mysql) owns the directory.--basedir=/usr/local/Cellar/mysql/5.6.21 --datadir=/usr/local/var/mysql --plugin-dir=/usr/local/Cellar/mysql/5.6.21/lib/plugin --verbose --log-error=/usr/local/var/mysql/BOXNAME.--pid-file=/usr/local/var/mysql/BOXNAME.I'm not sure why that worked for me but it shows you where I got the config file options from.
You can also use the command line options to try to troubleshoot when starting mysqld manually.
If you seeing the error "The server quit without updating PID file" then obviously something recently changed on your environment.
So lets take it step by step: # /etc/init.d/mysql start Starting My SQL..
#So, better solution is to tell to SELinux, that your new location for My SQL databases must have been #applied the proper security context (the one used for My SQL databases).
I'm on Mac OS X Lion (10.7.3) and am trying to setup a Python, My SQL.
With My SQL 5.6.8 RC available more and more people will start to test installs and upgrades.
This often comes up for some people so I hope this helps some.
You can start My SQL by avoiding the grants and keeping your in place.
# /etc/init.d/mysql start --skip-grant Starting My SQL..