mysql修改存储过程的权限

直接上代码

grant execute on procedure 表名.存储过程名(eg: student.find)

to '用户名'@'host'(eg: 'volumelicense'@'%') ;
flush privileges;

 

完整的例子:

grant execute on procedure sales.check_acount to 'root'@'%';

flush privileges;

 

附:查看存储过程权限的命令:http://www.cnblogs.com/tommy-huang/p/4210087.html

posted @ 2014-10-30 15:26  一菲聪天  阅读(1741)  评论(0编辑  收藏  举报