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.
I figured what the problem was. It was issues with premission and I basically did this
sudo chown -R $(whoami) /usr/local/lib/
I believe You should:
sudo chmod 775 /usr/local/lib/
and make sure You are member of the file's group.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With