Solve Table 'performance_schema.session_variables' does not exist problem

performance_schema have built in more than mysql5.5

performance_schema (comes with the installation database) accidentally deleted if the installed database or use data, there will be Table'performance_schema.session_variables' does not exist exception.

 

Solution:

first step:

# mysql_upgrade -uroot -p

 

 Step two:

# systemctl stop mysqld
# systemctl start mysqld

Guess you like

Origin www.cnblogs.com/linux90/p/12166959.html