原文:https://www.cnblogs.com/mzxiaoze/p/10413399.html alter user 'root'@'localhost' identified by 'newpassword'