Quantcast
Channel: Planet Apache
Viewing all articles
Browse latest Browse all 9364

Danny Angus: note to self, how to change the definer of a mysql stored procedure

$
0
0
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)

Viewing all articles
Browse latest Browse all 9364

Trending Articles