0

我有 4 个MySQL数据库虚拟机,都具有相同的 HD/RAM 架构。服务器版本:5.6.27 - MySQL 社区服务器 (GPL)

mysqlcheck在每台机器上运行命令:

$ mysqlcheck -u 用户名 -pPASSWORD --auto-repair --check --all-databases

顺便说一句,这些机器上只存在 MyISAM 表。4 台机器中有 3 台看起来不错。但是,一台机器给了我以下响应:

$ mysqlcheck -u USERNAME -pPASSWORD --auto-repair --check --all-databases
Enter password:
mysql.columns_priv                                 OK
mysql.db                                           OK
mysql.event                                        OK
mysql.func                                         OK
mysql.general_log                                  OK
mysql.help_category                                OK
mysql.help_keyword                                 OK
mysql.help_relation                                OK
mysql.help_topic                                   OK
mysql.innodb_index_stats
Error    : Table 'mysql.innodb_index_stats' doesn't exist
status   : Operation failed
mysql.innodb_table_stats
Error    : Table 'mysql.innodb_table_stats' doesn't exist
status   : Operation failed
mysql.ndb_binlog_index                             OK
mysql.plugin                                       OK
mysql.proc                                         OK
mysql.procs_priv                                   OK
mysql.proxies_priv                                 OK
mysql.servers                                      OK
mysql.slave_master_info
Error    : Table 'mysql.slave_master_info' doesn't exist
status   : Operation failed
mysql.slave_relay_log_info
Error    : Table 'mysql.slave_relay_log_info' doesn't exist
status   : Operation failed
mysql.slave_worker_info
Error    : Table 'mysql.slave_worker_info' doesn't exist
status   : Operation failed
mysql.slow_log                                     OK
mysql.tables_priv                                  OK
mysql.time_zone                                    OK
mysql.time_zone_leap_second                        OK
mysql.time_zone_name                               OK
mysql.time_zone_transition                         OK
mysql.time_zone_transition_type                    OK
mysql.user                                         OK

Repairing tables
mysql.innodb_index_stats
Error    : Table 'mysql.innodb_index_stats' doesn't exist
status   : Operation failed
mysql.innodb_table_stats
Error    : Table 'mysql.innodb_table_stats' doesn't exist
status   : Operation failed
mysql.slave_master_info
Error    : Table 'mysql.slave_master_info' doesn't exist
status   : Operation failed
mysql.slave_relay_log_info
Error    : Table 'mysql.slave_relay_log_info' doesn't exist
status   : Operation failed
mysql.slave_worker_info
Error    : Table 'mysql.slave_worker_info' doesn't exist
status   : Operation failed 

这个特定的 MySQL 服务还没有数据库(减去典型的mysql, information_schema, performance_schema)。考虑到我从第一个虚拟机中克隆了每个虚拟机,我没想到会有任何真正的差异。

这是一个独特的宇宙怪事,我需要重新开始吗?或者以前有没有人遇到过mysqlcheck命令的这种反应?

4

0 回答 0