Use this MySQL to get size of database:
SELECT table_schema "DatabaseName", SUM(index_length+data_length)/1024/1024 "DatabaseSizeMB" FROM information_schema.TABLES GROUP BY table_schema;
Use this MySQL to get size of database:
SELECT table_schema "DatabaseName", SUM(index_length+data_length)/1024/1024 "DatabaseSizeMB" FROM information_schema.TABLES GROUP BY table_schema;