首页 > 数据库技术 > 详细

Mysql修复表结构

时间:2016-08-12 21:50:37      阅读:172      评论:0      收藏:0      [点我收藏+]

总会在 MySQL 的日志中见到[ERROR] Native table ‘performance_schema‘.‘mutex_instances‘ has the wrong structure之类的错误

需要按照如下的格式在 Linux 的 —— 而不是 MySQL 的 —— 命令提示符下运行:

(1) mysql_upgrade -u root -p

(2) mysqlcheck -uroot -p 数据库名 --auto-repair


本文出自 “流星宇” 博客,请务必保留此出处http://8789878.blog.51cto.com/8779878/1837384

Mysql修复表结构

原文:http://8789878.blog.51cto.com/8779878/1837384

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!