问题描述
显然,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"