I have a clean install of MySQL (mysql-5.5.24-osx10.6-x86_64). I am on Lion (OS 10.7.4) with a Mac Pro Quad Core. I installed MySQL the GUI installer and also installed the
120515 18:13:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
In MySQL 5.5+ the --skip-locking option is removed. Use --skip-external-locking instead. Refer to MySQL documentation --> http://dev.mysql.com/doc/refman/5.5/en/mysql-nutshell.html Quote: "The --enable-locking and --skip-locking server options (use --external-locking and --skip-external-locking)."
I had the same problem after updating to OS X Mavericks.
Starting MySQL . ERROR! The server quit without updating PID file
Like Redrick and AndPy mentioned I also had to rename (actually I deleted the file) the error file located in $ cd /usr/local/var/mysql
. My error file was called localhost.err
. After removing the file with $ rm localhost.err
I could finally start MySQL again with $ mysql.server start
.
Give this a whirl..
cd YOURPATH/usr/local/mysql
rm -rf *.local.err
(deletes file)touch YOURUSERNAME.local.pid
(generates new *.local.pid file the error thrown was complaining about)mysql.server start
My answer is very similar to others, but slightly different and this applies mostly to a bitnami mamp stack. The fix for me was:
sudo chown -R mysql mysql/
The mysql/
directory is the one located in Applications/<mampstack-version>/
The above sets the mysql to be the owner of the mysql directory recursively into the other directories.