create user syntax in mysql
The CREATE USER statement creates new MySQL accounts. An error occurs if you try to create an account that already exists. An account when first created has no privileges. To use CREATE USER, you must have the global CREATE USER privilege, or the INSERT privilege for the mysql database.