mysql 5.7 赋予 查询 撤销 用户权限
1 赋予指定用户权限
grant select,insert on *.* to 'shop'@'%';
2 查询指定用户权限
show grants for shop;
3 撤销指定用户权限
REVOKE ALL ON *.* FROM 'shop'@'%';
附上一条链接仅供参考:https://www.cnblogs.com/benbenhan/articles/13886279.html
无可奈何花落去,似曾相识燕归来