MySQL8.0修改用户密码

2020-11-09 数据库 1121
use mysql;
alter user 'root'@'localhost' identified with mysql_native_password by 'root';
flush privieleges;
0