After i reboot my OS X, i find that i couldn’t start the MySQL server and it throws the following error:
hatuey:5.6.19 yingkityuen$ mysql.server start Starting MySQL . ERROR! The server quit without updating PID file (/usr/local/var/mysql/hatuey.local.pid).
Go to the above folder and delete the mysql error log which is ended with .err. In my case, i executed the following command:
hatuey:5.6.19 yingkityuen$ rm /usr/local/var/mysql/hatuey.local.err
Where hatuey is my Mac machine name.
This should fix the problem.