update user set password=PASSWORD('hooray') where user='root';
update user set authentication_string=PASSWORD('hooray') where user='root'; --mysql5.7
flush privileges;
quit;
mysql -uroot -p
update user set password=PASSWORD('123456') where user='root';
update user set authentication_string=PASSWORD('hooray') where user='root'; --mysql5.7
flush privileges;
quit;