本机表'performance_schema''???' 结构错误

问题描述

显然,MySQL模式存储由于某种原因而损坏。这些原因可能是:

  • 您已损坏数据库 information_schema
  • 文件系统损坏或文件系统中的某些错误损坏了数据库。
  • 由于MySQL中的错误,MySQL内部人员破坏了模式数据库(以前可能没有人遇到过)。

如果没有备份,但是仍然可以访问数据,请首先备份数据,然后执行以下操作:

如果您有备份,请重新安装MySQL(在此之前,请完全清除mysql的所有数据),然后导入数据。

解决方法

我得到以下信息:

Native table 'performance_schema'.'file_instances' has the wrong structure
Native table 'performance_schema'.'cond_instances' has the wrong structure
Native table 'performance_schema'.'rwlock_instances' has the wrong structure
Native table 'performance_schema'.'mutex_instances' has the wrong structure
...

而且,当我重新启动MySql时,出现了这些错误。似乎导致MySql Administrator变得不稳定,我得到了很多:

"MySQL server has gone away"

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...