How to grant a user access to all stored procedures on mysql?
<p>I'm trying the following:</p>

<pre><code>DROP USER IF EXISTS 'my_user'@'%';
CREATE USER 'my_user'@'%' IDENTIFIED BY 'my_pwd';
GRANT EXECUTE ON PROCEDURE mydb.* TO 'my_user'@'%';
</code></pre>

<p>but I get the error:</p>

<pre><code>Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used 0.000 sec
</code></pre>

<p>If I name a proc explicitly:</p>

<pre><code>DROP USER IF EXISTS 'my_user'@'%';
CREATE USER 'my_user'@'%' IDENTIFIED BY 'my_pwd';
GRANT EXECUTE ON PROCEDURE mydb.my_proc TO 'my_user'@'%';
</code></pre>

<p>then it works fine, but I want to allow the user account to have access to every proc on the db, is there anyway to do this without explicitly granting permission to every individual proc?</p>