Linux OS
Spectrum Any
It may be possible that low memory settings in the MySQL config file my-spectrum.cnf is preventing the mysqlcheck from reading larger table partitions. The table partition may not actually be corrupt.
Try increasing innodb_buffer_pool_size memory setting and run mysqlcheck again:
1. Edit <SPECROOT>/mysql/my-spectrum.cnf file
Locate memory settings:
innodb_file_per_table
innodb_buffer_pool_size = 256M
innodb_log_file_size = 256M
innodb_log_buffer_size = 4M
You can increase innodb_buffer_pool_size to 50% of available RAM. For example if there is 16GB of RAM available, the innodb_buffer_pool_size can be set to 8096M. For example:
innodb_buffer_pool_size = 8096M
2. Once the file has been edited, you must restart MySQL for the change to take effect:
cd to <SPECROOT>/bin
To stop MySQL:
./cmdC localhost 2 MYSQL MYSQL.OUT
To start MySQL back up:
./launchinstdbapp localhost MYSQL y MYSQL.OUT