- Mac OS X - Reset MySQL Root Password
- 在mac下reset root password后登录时有时会出现:
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
解决方法:Reset MySQL root password using ALTER USER statement after install on Mac
If you started mysql using mysql -u root -p
Try ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘MyNewPass’;
本文介绍在MacOS环境中遇到的特定错误提示:在重置MySQL的root密码后尝试登录时出现的ERROR 1820。文章提供了解决方案,即使用ALTER USER语句来更新root用户的密码。

被折叠的 条评论
为什么被折叠?



