peration CREATE USER failed for 'test'@'localhost' code example
Example 1: 1396(hy00) mysql error
drop user someuser;
flush privileges;
Example 2: 1396(hy00) mysql error
create user 'someuser'@'localhost' identified by 'somepassword';
ERROR 1396 (HY000): Operation CREATE USER failed for 'someuser'@'localhost'