[英]How to fix missing OpenSSL library for MySQL after brew upgrade?
I upgraded MySQL (and a slew of other packages) using the ever-so dangerous brew update && brew upgrade
我使用如此危险的
brew update && brew upgrade
升级了 MySQL(以及大量其他软件包)
After the upgrade, I started getting a database connection error in the browser and then realized the OpenSSL library is now missing升级后,我开始在浏览器中收到数据库连接错误,然后意识到OpenSSL 库现在丢失了
My initial thought was to force uninstall OpenSSL and re-install the version MySQL is looking for, but there's quite a few packages depending on the current version.我最初的想法是强制卸载 OpenSSL 并重新安装 MySQL 正在寻找的版本,但是根据当前版本,有很多软件包。
Error错误
chris$ mysql -v
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/mysql
Reason: image not found
OpenSSL开放式SSL
Attempt to brew uninstall
openssl (with intention of re-reinstalling 1.0)尝试
brew uninstall
openssl (打算重新安装 1.0)
Try to switch back:尝试切换回来:
brew switch openssl 1.0.2t
Helped for me.对我有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.