惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
J
Java Code Geeks
博客园 - 聂微东
量子位
C
Check Point Blog
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
B
Blog
罗磊的独立博客
腾讯CDC
GbyAI
GbyAI
博客园 - 【当耐特】
A
About on SuperTechFans
M
MIT News - Artificial intelligence
U
Unit 42
D
Docker
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队

博客园 - dnddn

axios输出图片显示 ElementUI时间选择控件提交的时间为UTC时间 pypi清华镜像 JS引用传值问题 通过Access-Control-Allow-Origin解决跨域问题 Google App Engine初探 SQL2005的阀值设定 移动硬盘识别不了的问题 网球术语英汉对照 【丰富词汇量,喜欢网球的路过说声。。】 几个小问题 - dnddn - 博客园 SilverLight,有多少人关心呢? be my friend MSSQL中的随机函数 检讨 简单的就是最好的 这个五一 紧张非封闭式开发中 静静的看twittervision SQL Server 2005 数据类型
解决mac下mysql libssl.1.0.0.dylib报错问题
dnddn · 2020-09-17 · via 博客园 - dnddn

未知原因,mac系统中mysql启动不了。。

mysql.server start

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/mysql/5.7.13/bin/my_print_defaults
  Reason: image not found
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/bogon.pid).

检查了下,命令没问题, .zshrc 中配置如下

alias db="mysql -uroot -pabcd.1234"

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/mysql
  Reason: image not found
[1]    50798 abort      mysql -uroot -pabcd.1234

检查Mysql启动问题

launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

/Users/xxx/Library/LaunchAgents/homebrew.mxcl.mysql.plist: service already loaded

搜索。。

得知可能原因:安装python3后导致openssl升级,而mysqldump还依赖1.0.0

执行命令:

brew switch openssl 1.0.2q

问题解决。