For some some reason brew does not link mysql and it complains about permission. I chmod the folder to 777 but I am still having the same issues
laptop$ brew install mysql Error:
mysql-5.5.27 already installed, it's just not linked laptop$ brew link mysql Linking /usr/local/Cellar/mysql/5.5.27... Warning: Could not link mysql. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/mysql/5.5.27/lib/plugin /usr/local/lib is not writable. You should change its permissions.