Navicat连接MySQL报错:performance_schema.session_status' doesn't exist

在Ubuntu下安装并启动MySQL后,用Navicat远程连接时,提示错误:1146-Table performance_schema.session_status' doesn't exist。

解决办法:
打开my.cnf配置文件(windows下为my.ini),添加以下内容:

[mysqld]
show_compatibility_56 = ON
performance_schema

保存后,重启数据库。

你可能感兴趣的:(Navicat连接MySQL报错:performance_schema.session_status' doesn't exist)