I'm having a problem with sharing stored procedures' contents across developers. All of them are allowd to create/modify stored procedures. However if I create a stored procedure its content can not be seen by others. Can anyone give me a hint on what I may do wrong?
Thank you in advance!
Visibility of stored routines content by users
I'm not sure yet why it is empty. I only see another thread with the same issue here.
Found it:
http://dev.mysql.com/doc/refman/5.1/en/show-create-procedure.html
They even had a bug report which was closed as this was documented at some point :/
http://dev.mysql.com/doc/refman/5.1/en/show-create-procedure.html
Both statements require that you be the owner of the routine or have SELECT access to the mysql.proc table. If you do not have privileges for the routine itself, the value displayed for the Create Procedure or Create Function field will be NULL.
They even had a bug report which was closed as this was documented at some point :/
Code modification/commit
from ansgar.becker,
12 years ago,
revision 7.0.0.4082
Disable editing routines if user has no privilege to select from mysql.proc or if he's not the owner of that routine. See http://www.heidisql.com/forum.php?t=10231
Please login to leave a reply, or register at first.