Mac安装homebrew失败
- 执行命令
ruby -version
,查看ruby版本 执行命令
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
后报错,报错信息如下Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1` exited with 128.
Error: Failure while executing; `/usr/local/bin/brew tap homebrew/core` exited with 1.解决,执行一下命令
git clone git://mirrors.ustc.edu.cn/homebrew-core.git/ /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"等待安装即可
Mac安装mysql之后用navicat链接报错
报错信息为:Authentication plugin 'caching_sha2_password' cannot be
loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_
password.so, 2): image not found
解决
- 打开系统偏好设置,找到mysql,点击Initialize Database。
- 输入你的新密码。
- 选择‘Use legacy password‘。
- 重启mysql服务。
- 可以使用Navicat链接。
参考文档
macOS安装homebrew报错 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Mysql 8.0.11版本,安装成功,使用Navicat连接失败