Table does not support optimize doing recreate + analyze instead
previous post
table does not support optimize doing recreate + analyze instead
The reason why you see this error is that you are most Likely to be doing OPTIMIZE on an InnoDB table (table using the InnoDB storage engine, rather than the MyISAM storage engine).
So in the video we showing how to bypass that.