Your password does not satisfy the current policy requirements

后端 未结 19 2518
眼角桃花
眼角桃花 2020-12-12 08:33

I want to create a new user in mysql with syntax:

create user \'demo\'@\'localhost\' identified by \'password\';

But it returns an error: <

19条回答
  •  时光说笑
    2020-12-12 09:21

    For MySQL 8*

    SET GLOBAL validate_password.policy=LOW

    Reference Link to explain about policy - Click Here

提交回复
热议问题