查询mysql的用户权限
 
    show grants for root
    show grants for root@localhost
 
发现root用户没有with grant option权限,也就是说其不能给其他用户赋予权限
 
咨询朋友,建议我重新初始化mysql,真心不想这么做。
 
没办法,去瞅user表吧,这次终于瞅清楚了。
 
select user,host,grant_privi from user;
 
然后把相应的值改成Y
 
然后刷新flush privileges,然后with grant option出现了。
 
可惜不知道为啥,当时还是不能赋权,不过过了一会就好了,不知道为啥,难道需要重新登陆,理解不了??????