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

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

Mac - 分类 - cywhat's blog

Mac修改brew源 Mac出现xxx@bogon Zsh Problem Compinit503 No Such File or Directory Usr Local Share Zsh Site Mac必备软件推荐 Mac忽略系统更新提醒,并取消小红点 Mac安装brew
Mac安装mysql5.7
cywhat · 2022-04-24 · via Mac - 分类 - cywhat's blog

1.下载Dmg安装包

安装包下载

我选择的Mysql版本是5.7.30

/img/img55.png

2.安装并启动

/img/img56.png

/img/img57.png

3.记录Mysql初始密码

/img/img58.png

4.设置别名

1
2
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin

5.重置密码

1
2
3
mysqladmin -u root -p password `新密码`   #回车后输入临时密码

mysql -u root -p  #输入新密码即可命令行登录

6.本地Navicat客户端登录

连接不上(报错): 2059 - Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(

原因:

由于从mysql5.7版本之后 验证方式默认从原来的mysql_native_password改成了caching_sha2_password

解决:

1
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密码';   #即可用客户端连接

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏