概述
今天主要分享下关于performance_schema/information_schema授权问题,最近在对performance_schema授权时发现了一个比较有趣的现象,下面一起来看看吧~
1、查看授权
这里可以看到root@'%'没有with grant option权限
mysql日志如下:
2、查看mysql.user表
mysql> select host,user,Grant_priv,authentication_string,password_expi
今天主要分享下关于performance_schema/information_schema授权问题,最近在对performance_schema授权时发现了一个比较有趣的现象,下面一起来看看吧~
这里可以看到root@'%'没有with grant option权限
mysql日志如下:
mysql> select host,user,Grant_priv,authentication_string,password_expi