Your password does not satisfy the current policy requirements

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

    If you don't care what the password policy is. You can set it to LOW by issuing mysql command below:

    mysql> SET GLOBAL validate_password.policy=LOW;
    

提交回复
热议问题