You must reset your password using ALTER USER statement before executing this statement

修改mysql root用户密码

alter user user() identified by "XXXXXX";
原文地址:https://www.cnblogs.com/aln0825/p/15061653.html