我是靠谱客的博主 风中缘分,这篇文章主要介绍mysql提示performance_schema缺表,现在分享给大家,希望可以做个参考。

mysql查询时提示Table ‘performance_schema.session_variables’ doesn’t exist

由于新库是旧数据搬迁而来,并未拷贝performance_schema库

在mysql的bin目录下执行

#mysql_upgrade -u root -p密码 --force

重启

#service mysqld restart
Shutting down MySQL....
[
OK
]
Starting MySQL..
[
OK
]

ok

转载于:https://blog.51cto.com/bomby/2062043

最后

以上就是风中缘分最近收集整理的关于mysql提示performance_schema缺表的全部内容,更多相关mysql提示performance_schema缺表内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(56)

评论列表共有 0 条评论

立即
投稿
返回
顶部