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

推荐订阅源

博客园 - 聂微东
GbyAI
GbyAI
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
Visual Studio Blog
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
B
Blog
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
雷峰网
雷峰网
爱范儿
爱范儿
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
Microsoft Security Blog
Microsoft Security Blog
Jina AI
Jina AI
P
Proofpoint News Feed
A
About on SuperTechFans
I
InfoQ
F
Fortinet All Blogs
L
LangChain Blog
T
Tailwind CSS Blog

博客园 - 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

问题解决。