mysql8修改密码

update user set authentication_string='' where user='userTest';


flush privileges;

ALTER USER 'userTest'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Password';

flush privileges;
posted @ 2022-03-07 18:53  Hey,Coder!  阅读(20)  评论(0编辑  收藏  举报