Why in cpanel database size is showing 0.00MB while when i take backup of开发者_如何学编程 database then it is 1.2 MB?
alt text http://shup.com/Shup/392674/1107123610-My-Desktop.png
Most likely because it's not configured properly
I believe CPanel runs a series of tasks which update counters such as database size, rather than calculating it on-the-fly. If it's not up-to-date, either the task isn't running or isn't running often enough.
Your download includes your "information_schema" database too, I hope you acknowledge that, however I would not seem to think it would weigh about 10 megabytes of data, so the only other issue I would see as a concern is you database is not mapped so try repairing it, or creating a new database and uploading the contents to it.
edit file /var/cpanel/cpanel.config and change
disk_usage_include_sqldbs=0
to
disk_usage_include_sqldbs=1
Then run
/scripts/update_db_cache
It will update the MySQL database disk usage.
精彩评论