只需要在mysql的命令行下输入:
alter user’root’@‘localhost’ identified with mysql_native_password by ‘这里写密码’
小程序服务端配置出现错误:: Client does not support authentication protocol requested by server; consider upgradi
最新推荐文章于 2026-05-01 20:39:57 发布
本文介绍了一种简单的方法来更改MySQL数据库中root用户的密码。只需在MySQL命令行中使用ALTER USER语句,即可轻松更新密码。


5422

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



