I would like to know how much space does my MySQL database use, in order to select a web host. I found the command SHOW TABLE STATUS LIKE \'table_name\' so when
SHOW TABLE STATUS LIKE \'table_name\'
If you are using MySql Workbench, its very easy to get all details of Database size, each table size, index size etc.
Select Schema Inspector option
It Shows all details of Schema size
Select Tables Tab to see size of each table.
Table size diplayed in Data Lenght column