Table ‘performance_schema.session_variables’ doesn’t exist

2018-01-17 16:42:17 5615

MySQL报错:Table 'performance_schema.session_variables' doesn't exist

解决方法:

1:UPGRADE MySQL

mysql_upgrade -u root -p --force


2:重新启动MySQL

net stop mysql

net start mysql


3:重置密码

mysqld --defaults-file="../my.ini" --skip-grant-tables

update mysql.user set authentication_string=password('admin') where user='root' and Host = 'localhost';

mysqladmin shutdown -uroot -p


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: