mysql 权限管理 grant revoke
grant all privileges on database.table to 'user'@'ip' identified by 'passwd' with grant option;
grant select,insert on mt.* to 'mtp'@'192.168.25.20' identified by 'meal123456' with grant option;
删除权限
revoke drop on mt.* from 'mtp'@'192.168.25.20';
查权限
show grants for mtp@'192.168.25.20';