I am working on MySQL 5.5 and trying to do index rebuild using an OPTIMIZE TABLE query. I am getting the error below:
OPTIMIZE TABLE
Table does not support
Best option is create new table with same properties
CREATE TABLE LIKE ; INSERT INTO SELECT * FROM ;
Rename NEW.NAME.TABLE and TABLE.CRASH
RENAME TABLE TO ; RENAME TABLE TO ;
After work well, delete
DROP TABLE ;