garconcn
garconcn

Reputation: 285

How to grant EXECUTE Stored Procedure for a user in mysql

I am trying to grant EXECUTE Stored Procedure for a user in cPanel(the latest version 11.28.60), but it does not work. Should I create the Stored Procedure before grant the EXECUTE privilege? Thanks.

Upvotes: 1

Views: 1139

Answers (1)

Joe Stefanelli
Joe Stefanelli

Reputation: 135808

Yes, create the procedure first. The procedure has to exist before you can grant permissions on it.

Upvotes: 1

Related Questions