Check the size of the database in MySQL.
You can use the following command to check the size of a MySQL database:
SELECT table_schema AS "Database",
ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS "Size (MB)"
FROM information_schema.tables
GROUP BY table_schema;
This command will return the size of each database in megabytes.