sql,SHOW VARIABLES LIKE 'datadir'; -查看数据目录,SELECT table_schema, sum(data_length + index_length) / 1024 / 1024 AS 'MB' FROM information_schema.TABLES GROUP BY table_schema; -查看各数据库占用的存储空间(单位:MB),
``sql,SHOW VARIABLES LIKE 'datadir'; -查看数据目录,SELECT table_schema, sum(data_length + index_length) / 1024 / 1024 AS 'MB' FROM information_schema.TABLES GROUP BY table_schema; -查看各数据库占用的存储空间(单位:MB),
``Powered By Z-BlogPHP 1.7.3