I want to create a new user in mysql with syntax:
create user \'demo\'@\'localhost\' identified by \'password\';
But it returns an error: <
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;