Check out example codes for "create user mysql". It will help you in understanding the concepts better.

Code Example 1

CREATE USER 'norris'@'localhost' IDENTIFIED BY 'password';

Code Example 2

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';

Learn ReactJs, React Native from akashmittal.com