Table 'performance_schema.session_variables' doesn't exist

后端 未结 9 1602
攒了一身酷
攒了一身酷 2020-12-22 15:00

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

9条回答
  •  [愿得一人]
    2020-12-22 15:26

    If, while using the mysql_upgrade -u root -p --force command You get this error:

    Could not create the upgrade info file '/var/lib/mysql/mysql_upgrade_info' in the MySQL Servers datadir, errno: 13
    

    just add the sudo before the command. That worked for me, and I solved my problem. So, it's: sudo mysql_upgrade -u root -p --force :)

提交回复
热议问题