How to display all the tables with more information (create date, size,…) in a MySQL database?

前端 未结 1 821
面向向阳花
面向向阳花 2021-01-02 01:44

Searched and searched and gave up. All I want is more info on a MySQL table or better yet, a list of all tables in a MySQL database in the descending/ascending order of thei

1条回答
  •  独厮守ぢ
    2021-01-02 02:11

    INFORMATION_SCHEMA.TABLES is the most easily queryable, but that doesn't have creation date. show table status does return creation date information. You can probably craft something to get the table name out of information_schema, then call show table status on each.

    0 讨论(0)
提交回复
热议问题