SELECT table_schema "DB Name",sum( data_length + index_length ) / 1024 /1024 "DB Size in MB",sum( data_free )/ 1024 / 1024 "Free Space in MB"FROM information_schema.TABLESGROUP BY table_schema ;
Enjoy!
SELECT table_schema "DB Name",sum( data_length + index_length ) / 1024 /1024 "DB Size in MB",sum( data_free )/ 1024 / 1024 "Free Space in MB"FROM information_schema.TABLESGROUP BY table_schema ;