MySQL Error MY-011051 – ER_INNODB_IDX_CNT_FEWER_THAN_DEFINED_IN_MYSQL

MySQL Error Message

Table %s contains fewer indexes inside InnoDB than are
defined in the MySQL. Have you mixed up with data dictionary from
different installation?

Reason for the Error

ER_INNODB_IDX_CNT_FEWER_THAN_DEFINED_IN_MYSQL
was added in 8.0.4.