首页 > 数据库技术 > 详细

Mysql Grant权限(WITH GRANT OPTION)

时间:2019-06-26 17:05:06      阅读:396      评论:0      收藏:0      [点我收藏+]
mysql>grant all on *.* to test@’192.168.1.20’ identified by ‘123456’ mysql>flush privileges; 结果显示:Grant_priv为"N"

技术分享图片

解决方法:在最后加上With Grant Option 
mysql>grant all on *.* to test@’192.168.1.20’ identified by ‘123456’ WITH GRANT OPTION
mysql>flush privileges;
结果显示:Grant_priv为"Y"

技术分享图片

Mysql Grant权限(WITH GRANT OPTION)

原文:https://blog.51cto.com/1929297/2413775

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!