I used MySQL 5.7.17.
If you have a MyISAM table, it will show you the correct date of the created table, even if you have an Optimized MyISAM table. (Show table status, where name = 'tablename;)
if you have innodb tables, it will show you the incorrectly created date, because after the internal optimization of the innodb table, it will use the alter table and therefore it will show you the date and time of the created table, which will be after the optimization date (Optimize table table name;)
For this permission, we need to use information_schema.tables to get the date the table was created.
Adam Mulla Apr 21 '19 at 9:24 2019-04-21 09:24
source share