Mysql8.0修改密码报错“Your password does not satisfy the current policy requirements”解决方案

1、修改密码时提示如下:

Your password does not satisfy the current policy requirements

 

2、解决方案:

第一、如图所示:将密码等级强度由mudium修改为low

 第二、查看修改后的密码设置规则

 

 第三、修改密码并使其生效

修改密码:ALTER USER 'root'@'%' IDENTIFIED BY '1234';

使其权限生效:flush privileges;

 

posted @ 2022-08-24 20:47  人类能走多远  阅读(655)  评论(0)    收藏  举报