MySQL 5.6查看数据库的大小

1、
use information_schema;
2、
select concat(round(sum(data_length/1024/1024),2),'MB') as data from tables where table_schema='dbname';

    笃信仁厚,慎思勤勉

1、
use information_schema;
2、
select concat(round(sum(data_length/1024/1024),2),'MB') as data from tables where table_schema='dbname';

