MySQL Forums
Forum List  »  Stored Procedures

Re: Rights to see stored procedures
Posted by: Alex Aulbach
Date: July 12, 2012 02:10AM

TNX, Peter. Should read the stuff better. [off topic: could mysql add a block to the top of each statement: since version, needed plugins, thousands other stuff... ?]

But the problem is not this show-function, it's that I cannot backup the database (the stored routines are empty when I use mysqldump), because I obviously don't have the rights to read the procedure. I don't get it together, because when I read
http://dev.mysql.com/doc/refman/5.1/en/grant.html
I interpret it in the way, that there is no special right to see routines:

"Stored Routine Privileges

The ALTER ROUTINE, CREATE ROUTINE, EXECUTE, and GRANT OPTION privileges apply to stored routines (procedures and functions). They can be granted at the global and database levels. Except for CREATE ROUTINE, these privileges can be granted at the routine level for individual routines."

Nothing about seeing routines. I would prefer not to test this by hand.

Which of the rights are needed to see the stored routine itself, so that backup works?

bye

Options: ReplyQuote


Subject
Views
Written By
Posted
2727
July 11, 2012 08:45AM
Re: Rights to see stored procedures
1485
July 12, 2012 02:10AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.