After installing mysql using homebrew there was an error with linking it. I tried manually to link it but I got this error:
brew link mysql Linking /usr/local/Cellar/mysql/5.5.28... Warning: Could not link mysql. Unlinking... Error: Could not symlink file: /usr/local/Cellar/mysql/5.5.28/bin/resolveip /usr/local/bin/resolveip may already exist. /usr/local/bin may not be writable.
I tried setting all sort of permission type for this folder using chmod none of them worked. Working on mac os 10.8.2