The primary function of the MySQL privilege system is to authenticate a user who connects from a given host and to associate that user with privileges on a ...
dev.mysql.com