This is a useful one if, like us, you find that the account used to create the procedure doesn't have the privileges required to execute it, or perhaps you've revoked the original definers grant. (DoH!)
ALTER PROCEDURE procedure_name SQL SECURITY DEFINER;javascript:void(0)
Danny Angus
blog.killerbees.co.uk
Labels
Wednesday, September 01, 2010
note to self, how to change the definer of a mysql stored procedure
Further Reading
-
-
Ingress Chase Scene12 hours ago
-
-
-
GSOC: Apply Now2 weeks ago
-
-
Sam Bisbee, CouchDB1 month ago
-
Blog Moved4 months ago
-
-
Ubuntu on ZFS …10 months ago
-
View from a train1 year ago
-
-
-
Twitter1 year ago
-
Westin Tower - Atlanta2 years ago
-
-
Baseline 1.53 years ago
-
Boat For Sale6 years ago
I know nothing, I'm not a fortune teller, and you'd be insane to think that I am. This disclaimer was cribbed from an email footer I once received. It is so ridiculous I had to have it for myself.
Statements in this blog that are not purely historical are forward-looking statements including, without limitation, statements regarding my expectations, objectives, anticipations, plans, hopes, beliefs, intentions or strategies regarding the future. Factors that could cause actual results to differ materially from the forward looking statements include risks and uncertainties such as any unforeseen event or any unforeseen system failures, and other risks. It is important to note that actual outcomes could differ materially from those in such forward-looking statements.
Danny Angus Copyright © 2006-2010 (OMG that's four years of this nonsense)

Comments:
Post a Comment
blog comments powered by Disqus