解决mysqlbench 报错提示: error loading schema content / tables could not be fetched

分类:Mysql |

mysqlbench, mysql5.7报错提示: 

error loading schema content  

tables could not be fetched


原因: 

可能是因为mysql 的用户权限存在的问题:

解决方法: 

升级更新mysql, 目的是更新表结构, 并非升级mysql数据库: 


myql_upgrade -uroot -p


GRANT SELECT ON `performance_schema`.* to '用户名'@'%';