MySQL用户权限

grant all privileges on db.* to 'user'@'%' identified by 'pwd' -- with grant option;

Revoke all on *.* to 'z'@'%' identified by 'Z';
revoke all on *.* from 'z'@'%'

show grants for 'z'@'%';

update mysql.proc set definer='z@%' where db='n'
posted @ 2015-05-06 15:35  chy710  阅读(51)  评论(0)    收藏  举报