ERROR 1410 (42000): You are not allowed to create a user with GRANT

MySQL分配用户权限报错:ERROR 1410 (42000): You are not allowed to create a user with GRANT。

Create first:

mysql>CREATE USER 'root'@'192.168.159.1' IDENTIFIED BY 'password';

GRANT last:

mysql>grant SYSTEM_VARIABLES_ADMIN, PERSIST_RO_VARIABLES_ADMIN on *.* to 'root'@'192.168.159.1';
mysql>flush privileges;