19.2.2 Stored Routines and MySQL Privileges

The MySQL grant system takes stored routines into account as follows:

The server manipulates the mysql.proc table in response to statements that create, alter, or drop stored routines. It is not supported that the server will notice manual manipulation of this table.