MySQL 8.x版本修改root用户密码命令

alter user'root'@'localhost' identified by '新密码';

原文地址:https://www.cnblogs.com/hunter-w/p/15390624.html