mysql时,提示Table ‘performance_schema.session_variables’ doesn’t exist(mysql数据库的自带数据库被误删)

#解决方案

1.cd C:\Program Files\MySQL\MySQL Server 5.7\bin
2.mysql_upgrade -u root -p --force
3.net stop mysql57
4.net start mysql57
Table ‘performance_schema.session_variables’ doesn’t exist
#成功截图
Table ‘performance_schema.session_variables’ doesn’t exist

相关文章:

猜你喜欢
相关资源
相似解决方案