mysql8.0修改密码:
alter user'root'@'%' IDENTIFIED BY 'xxxxx';
root是mysql数据库中user表中的user,%是host,xxxxx是要修改的密码
root
mysql
user
%
host
xxxxx