Table 'performance_schema.session_variables' doesn't exist

Taz picture Taz · Aug 12, 2015 · Viewed 159.2k times · Source

After upgrading MySQL to 5.7.8-rc and loging to server I got error:

Table 'performance_schema.session_variables' doesn't exist

I can't find any solution for this. Can you help ?

Answer

Mihai Caracostea picture Mihai Caracostea · Oct 21, 2015

I was able to log on to the mysql server after running the command @robregonm suggested:

mysql_upgrade -u root -p --force

A MySQL server restart is required.