Check out example codes for "ERROR 1396 (HY000): Operation DROP USER failed for 'ananyapam'@'%'". It will help you in understanding the concepts better.

Code Example 1

select user,host
from mysql.user
where user = '<your-user>';

Learn ReactJs, React Native from akashmittal.com