当前访问mysql的账号root缺少系统权限,执行以下sql语句即可
GRANT XA_RECOVER_ADMIN ON *.* TO root@‘%‘ ;
查看mysql当前访问用户的权限
show grants for 用户名@‘主机地址(%代表任意ip)‘
参考:https://blog.csdn.net/qq_43028054/article/details/93138503
mysql权限介绍链接:
https://blog.csdn.net/qq_20387013/article/details/89875332