这个问题之前在这里被问过(404 error when using brew to install mysql),但不幸的是这个修复对我不起作用。我已经运行了 brew update,所以我是最新的。
我使用的是最新版本的 MacOS 10.12,如果需要的话,我正在运行 Xcode 8。
brew install mysql Warning: You are using OS X 10.12. We do not provide support for this pre-release version. You may encounter build failures or other breakages. ==> Downloading https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.11.tar.gz
curl: (22) The requested URL returned error: 404 Not Found Error: Failed to download resource "mysql" Download failed: https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.11.tar.gz
我知道它说这是一个预发布版本,但这里有希望吗?
谢谢
最佳答案
你引用的5.7.11 mysql下载已经不存在了(肯定是404)。
查看 homebrew formula for mysql , 它已更新为指向最新的 mysql 版本。
所以看起来你实际上不是最新的。尝试运行 brew update
两次,然后运行 brew doctor
并修复所有警告。
在过去的 9 个月中, Homebrew 软件发生了一些重大变化,如果您安装的是旧软件,完全卸载可能会更容易。升级到 Homebrew 1.0 后,还有一些所有权和目录位置更改需要理顺
关于mysql - 使用brew安装mysql时出现404错误-macOS Sierra,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39899443/