How to get size of a mysql database?
Suppose the target database is called \"v3\".
mysqldiskusage --server=root:MyPassword@localhost pics
+----------+----------------+
| db_name | total |
+----------+----------------+
| pics | 1,179,131,029 |
+----------+----------------+
If not installed, this can be installed by installing the mysql-utils package which should be packaged by most major distributions.