Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Table 'performance_schema.session_variables' doesn't exist

Tags:

mysql

upgrade

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 ?

like image 874
Taz Avatar asked Aug 12 '15 14:08

Taz


2 Answers

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.

like image 108
Mihai Caracostea Avatar answered Sep 29 '22 12:09

Mihai Caracostea


The mysql_upgrade worked for me as well:

# mysql_upgrade -u root -p --force # systemctl restart mysqld 

Regards, MSz.

like image 41
Marcin Sz Avatar answered Sep 29 '22 11:09

Marcin Sz