show grants for '用户'@'IP地址'
grant select ,insert,update on db1.t1 to "alex"@'%';
grant all privileges on db1.t1 to "alex"@'%';
grant all privileges on db1.* to "alex"@'%';
grant all privileges on *.* to "alex"@'%';
revoke all on db1.t1 from 'alex'@"%";
revoke all on db1.* from 'alex'@"%";
revoke all privileges on *.* from 'alex'@'%';