Answer the question
In order to leave comments, you need to log in
Mysql database size?
version 4.1.22-community-nt-log
try
SELECT table_schema "database_name", sum( data_length + index_length )/1024/1024 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema;
Answer the question
In order to leave comments, you need to log in
mysql 4.1?
Hmm. Look in the archives for at least 10 years ago, as then it was possible to calculate the size.
information_schema, I remember, only appeared in 5.0.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question