当前位置:Gxlcms > 数据库问题 > Mysql Grant权限(WITH GRANT OPTION)

Mysql Grant权限(WITH GRANT OPTION)

时间:2021-07-01 10:21:17 帮助过:5人阅读

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)

标签:mysq   image   ant   ide   inf   t权限   png   http   alt   

人气教程排行