修改mysql root 密码

use mysql;
select host,user,authentication_string from mysql.user;

flush privileges;
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'master$1234_01KJ';
FLUSH PRIVILEGES;

posted on 2022-04-01 21:27  zyp_java_net  阅读(18)  评论(0编辑  收藏  举报

导航