How to grant a user access to all stored procedures on mysql?

后端 未结 1 1686
天涯浪人
天涯浪人 2021-01-18 03:09

I\'m trying the following:

DROP USER IF EXISTS \'my_user\'@\'%\';
CREATE USER \'my_user\'@\'%\' IDENTIFIED BY \'my_pwd\';
GRANT EXECUTE ON PROCEDURE mydb.* T         


        
1条回答
  •  野的像风
    2021-01-18 03:26

    Use this instead, it will work:

    GRANT EXECUTE ON mydb.* TO 'my_user'@'%';
    

    0 讨论(0)
提交回复
热议问题