- 博客(1)
- 收藏
- 关注
原创 macOS的mysql8.0.19忘记密码之跳过权限+重设密码
mysqld -nt --skip-grant-tables 重新打开一个CMD命令行窗口,输入mysql -u root -p,使用空密码的方式登录MySQL(不用输入密码,直接按回车) UPDATE mysql.user set authentication_string = '' WHERE User = "root" and Host = "localhost";(先设置为空串) exit 关闭步骤1的mysqld -nt --skip-grant-tables...
2020-07-01 11:38:13 751 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人