更新root密码
mysql> UPDATE user SET authentication_string=PASSWORD( 'newpassword' ) where USER= 'root' ;