Table 'performance_schema.session_variables' doesn't exist

Subject:

I received this error using mysql 5.7 Centos7 on virtualmin.  I have done no upgrades have been done to mysql.Couldn't execute 'SHOW VARIABLES LIKE 'gtid\_mode'': Table 'performance_schema.session_variables' doesn't existref: https://stackoverflow.com/questions/31967527/table-performance-schema-se...this worked without needed to do upgrademysql -u root -pmysql> set @@global.show_compatibility_56=ON;

2018-05-14 08:28:02gstlouis