小编Asa*_*yed的帖子

通过 Homebrew 安装 MySQL 时出现符号链接错误

尝试通过 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”。

mysql permissions homebrew macos

25
推荐指数
2
解决办法
2万
查看次数

标签 统计

homebrew ×1

macos ×1

mysql ×1

permissions ×1