mysql passwd
update mysql.user set authentication_string=PASSWORD('root'),password_expired='N' where User='root';
flush privileges;
update mysql.user set authentication_string=PASSWORD('root'),password_expired='N' where User='root';
flush privileges;