mysql Table 'performance_schema.session_status' doesn't exist

Due to the installation of mysql by changing the computer. In order to facilitate the direct copy of the previous mysql data file to the new system, the mysql service is installed. Everything goes well. But when using it, an error is reported: Table 'performance_schema.session_status' doesn't exist. The answer is found in the main reason, the previous data is in mysql5.6. The newly installed mysql is in 5.7. The different versions are inconsistent. Solution 2

1. Execute: mysql_upgrade -u root -p --force

2. Restart mysql

 

Original post address: http://stackoverflow.com/questions/31967527/table-performance-schema-session-variables-doesnt-exist

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327034213&siteId=291194637