尝试通过 Homebrew 安装 MySQL。安装似乎工作正常,但我收到一个错误:
"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'"
Run Code Online (Sandbox Code Playgroud)
当然,在这之后我跑了:
brew link mysql
Run Code Online (Sandbox Code Playgroud)
哪个吐出来:
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.
Run Code Online (Sandbox Code Playgroud)
所以我运行它sudo并得到一个“怯懦地拒绝 brew link mysql”。