查看权限 use mysql select user,host,grant_priv from user; 修改权限 update user set grant_priv='Y' where user='opt';