Ok, I've searched all over and have spent quite a bit of my time installing, uninstalling, trying various option but without success.
I'm on Mac OS X Lion (10.7.3) and am trying to setup a Python, MySQL.
I successfully installed Python and MySQL via HomeBrew. Python works great.
After MySQL Installation, I followed the first 2 steps - unset and the mysql_install_db
commands.
Now, when I try to start mysql "mysql.server start", I get the following error
ERROR! The server quit without updating PID file (/usr/local/var/mysql/Brajeshwar.local.pid).
Brajeshwar
is my username on my machine.I found that it was a permissions issue with the mysql
folder.
chmod -R 777 /usr/local/var/mysql/
solved it for me.