system_user 问题
小于 1 分钟
system_user 问题
1、MySQL报错:
[42000] [1227]Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this operation
2、原因
原因是MySQL8.0.16
版本中新增了一个system_user
帐户类型,我们需要把权限给添加进去,使用下方的代码,此处的root
可以是你当前使用的账户
grant system_user on *.* to 'root';