Your password does not satisfy the current policy requirements

后端 未结 19 2628
眼角桃花
眼角桃花 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:11

    Set password that satisfies 7 MySql validation rules

    eg:- d_VX>N("xn_BrD2y

    Making validation criteria bit more simple will solve the issue

    SET GLOBAL validate_password_length = 6;
    SET GLOBAL validate_password_number_count = 0;
    

    But recommended a Strong password is a correct solution

提交回复
热议问题