Created
April 18, 2016 19:46
-
-
Save jbuck/b3cbf021eecad92f525eb162c2054e66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE USER 'fxa_sproc_def'; | |
GRANT ALL PRIVILEGES ON fxa.* TO 'fxa_sproc_def'; | |
UPDATE `mysql`.`proc` p SET definer = 'fxa_sproc_def@%' WHERE definer='root@localhost' | |
CREATE USER 'fxa_user_1'; | |
GRANT EXECUTE ON PROCEDURE fxa.* to 'fxa_user_1'; | |
CREATE USER 'fxa_user_2'; | |
GRANT EXECUTE ON PROCEDURE fxa.* to 'fxa_user_2'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment