Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

MySQL Disk Usage Tracking

May 19, 2012 by Donald
I’ve run an update for cPanel 11.24, and now I noticed that MySQL databases are showing up with 0MB of disk space in use, even though the database sizes are much larger. How can I enable MySQL disk usage tracking? Can anyone please help
Thanks and regards

1 Answer

0 votes
May 19, 2012 by expert
By making the following change, you will be able to enable this feature and retain your MySQL disk usage tracking.
1.Log into your cPanel server by SSH.
2.You will need to edit /var/cpanel/cpanel.config file with a text editor.
oReplace "disk_usage_include_sqldbs=0" with "dis_usage_include_sqldbs=1"
3.Once you have made the change, you will need to run the following:
Once the script completes you will be able to see the correct MySQL database sizes again