mysql8修改密码
程序员文章站
2022-03-04 15:03:42
...
use mysql;
update user set authentication_string='' where user='root';
alter user'root'@'%' IDENTIFIED BY 'root';
update user set authentication_string='' where user='root';
alter user'root'@'%' IDENTIFIED BY 'root';