What is the difference between *
, %
, Any
in the username/host fields when granting permissions to a user, and how would the combination of them differ?
For example:
GRANT ALL PRIVILEGES ON db.* TO '*'@'Any';
would this be the same as
GRANT ALL PRIVILEGES ON db.* TO 'Any'@'%';
EDIT: The Any
field I was thinking of comes from phpMyAdmin. Perhaps it means something different? I have pasted a screenshot below to illustrate what I mean.