linux mysql5.7及之后版本root用户密码过期(You must reset your password using ALTER USER)解决办法

在linux初始化完成mysql之后,使用默认随机生成的root密码登录mysql,会出现无法执行任何命令的情况: You must reset your password using ALTER USER statement before executing this statement. 然而此时的root并不能执行上述的ALTER USER 语句,因为root此时没有任何DML权限。 通过m
相关文章
相关标签/搜索