1. UPDATE user SET Password = PASSWORD('newpass') WHERE user = 'root';
  2. flush privileges;