Disk Space for MySQL Databases in cPanel Show as 0MB

5/5 - (1 vote)

When you upgrade from cPanel 11.24 to 11.25, your users may notice that in cPanel, their MySQL databases show 0MB of disk space used, when they know their databases are much larger. This is due to an option in cPanel that you specifically have to enable. To enable MySQL disk usage tracking:

1) Edit /var/cpanel/cpanel.config

Change:

disk_usage_include_sqldbs=0

to

disk_usage_include_sqldbs=1

Then run the following:

/scripts/update_db_cache
This may take a few minutes if you have a ton of users with databases, but after this, you should see the database disk usage show up accurately in cPanel.

3 Comments

  1. Pingback: Servers Admins » Blog Archive » Roundcube: MySQL or SQLite?

  2. Pingback: Removing WHM Disk Space Errors | TurboNoc.com

Leave a Reply

Your email address will not be published. Required fields are marked *

Log in