user table scope columns determine whether to reject or allow incoming connections.
user table indicate the user's global (superuser) privileges.
db table scope columns determine which users can access which databases from which hosts.
host table is used in conjunction with the db table to apply a given db table row to several hosts.
host table must be modified directly with statements such as INSERT, UPDATE, and DELETE.
GRANT and REVOKE that modify the grant tables indirectly.
tables_priv and columns_priv tables are similar to the db table, but are more fine-grained.
procs_priv table applies to stored routines.
Why are RELOAD, SHUTDOWN, and FILE privileges stored in the user table?
© 2007 John Michael Pierobon