1:限制用户登录ip rename user 用户名@'ip地址' to 用户名@'ip地址' 2:查看用户权限 show grants for 用户名@'ip地址' 3:回收用户所有权限 revoke all privileges,grant option from 用户名@'ip地址';