title: Mysql function or procedure to check grants
body: <p>An user should only execute functions and procedures. I grant <code>EXECUTE</code> to this user and revoke other privileges from the same user for security reasons. </p>
  
  <p>How to check if this user has only the <code>EXECUTE</code> privilege for a stored function?</p>