Symlink error when installing MySQL via Homebrew

Posted by Asad Syed on Super User See other posts from Super User or by Asad Syed
Published on 2012-06-11T19:40:22Z Indexed on 2012/10/05 15:42 UTC
Read the original article Hit count: 410

Filed under:
|
|
|

Trying to install MySQL via Homebrew. The install seems to work fine but i get an error:

"Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link mysql'"

Naturally, after this I ran:

brew link mysql

Which spat out:

Error: Could not symlink file: /usr/local/Cellar/mysql/5.5.20/include/typelib.h
/usr/local/include is not writable. You should change its permissions.

So I ran it with sudo and got a "cowardly refusing to brew link mysql".

© Super User or respective owner

Related posts about osx

Related posts about permissions