update mysql.user set authentication_string=password('root')
where user='root' and Host ='%';
FLUSH PRIVILEGES;
一定要刷新,不然不生效

update mysql.user set authentication_string=password('root')
where user='root' and Host ='%';
FLUSH PRIVILEGES;
一定要刷新,不然不生效