打开mysql的命令窗口
第一步,输入alter user 'root'@'localhost' identified with mysql_native_password by 'root的密码';
第二步,输入flush privileges;
这两步都提示 'OK'后就可以了
打开mysql的命令窗口
第一步,输入alter user 'root'@'localhost' identified with mysql_native_password by 'root的密码';
第二步,输入flush privileges;
这两步都提示 'OK'后就可以了