- 说明
在升级到MySQL 8.0之后我们会发现,有些修改密码的方式在MySQL 8.0中不能继续使用了,下面列出了两个版本的MySQL中修改密码的方式的对比
- MySQL 5.7中修改密码的方式
- MySQL 8.0中修改密码的方式
- 注意事项
MySQL 8.0中已经不支持通过grant和update的方式进行密码修改
在升级到MySQL 8.0之后我们会发现,有些修改密码的方式在MySQL 8.0中不能继续使用了,下面列出了两个版本的MySQL中修改密码的方式的对比
MySQL 8.0中已经不支持通过grant和update的方式进行密码修改