1.启动mysql并登入
2.登入成功后mysql > 样式中输入
alter user 'root'@'localhost' identified with mysql_native_password by '123456';
FLUSH PRIVILEGES;
1.启动mysql并登入
2.登入成功后mysql > 样式中输入
alter user 'root'@'localhost' identified with mysql_native_password by '123456';
FLUSH PRIVILEGES;