我有4个MySQL
数据库虚拟机,都具有相同的HD / RAM模式。
服务器版本:5.6.27 - MySQL社区服务器(GPL)
我在每台机器上运行mysqlcheck
命令:
$ mysqlcheck -u USERNAME -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
)。考虑到我从第一个VM克隆了每个VM,我没有预料到任何真正的差异。
这是一个独特的宇宙怪异,我需要重新开始吗?
或者有人在之前使用mysqlcheck
命令面对此响应吗?