mysql> SELECT table_schema AS “Database name”, SUM(data_length + index_length) / 1024 / 1024 AS “Size (MB)” FROM information_schema.TABLES GROUP BY table_Schema;
found here
http://makandracards.com/makandra/1447-list-sizes-of-mysql-databases
mysql> SELECT table_schema AS “Database name”, SUM(data_length + index_length) / 1024 / 1024 AS “Size (MB)” FROM information_schema.TABLES GROUP BY table_Schema;
found here
http://makandracards.com/makandra/1447-list-sizes-of-mysql-databases