Error the server quit without updating pid file
Go to lampp/var/ and do chown -R mysql mysql/ That worked for me!
The solution that worked for me was here: Changing some of my permissions seemed to do the trick.
The file in the mysql data folder is gone and mysql just wont behave without it.
The mysql.socket is no longer visible in /tmp eventhough mysql thinks it is.
resulted in the error: "The server quit without updating PID file" I noticed something odd in the installation instructions though.
It has ownership changed to mysql for the directory "data", but not to "var"; this is unusual because for years I have had to ensure that var directory was mysql writable.
[mysqld] port = 3306 socket = /tmp/skip-external-locking key_buffer_size = 16K pid-file=/var/run/mysqld/[mysqld_safe] log-error=/var/log/pid-file=/var/run/mysqld/I tried following these instructions a million times but never got it to work.
First up make sure mysql is not running either from System Prefs or the Terminal.This step-by-step guide is mainly for Free BSD, however the idea is the same for Linux.Every once a while, when I update my Free BSD box, the system likes to shutdown my My SQL server.I'm running a Mid-2012 Macbook Air with OS X 10.8.2 and mysql was installed with homebrew. Please take note that you need to run mysql_install_db from the with top level of the mysql directory (IE, usr/local/Cellar/mysql/5.5.25).Running it directly within the /scripts directory does not give it enough context for it to run.