Inorder to fix database showing 0MB size in cpanel, try to enable Database disk calculation via

WHM >> Server Configuration >> Tweak Settings>>SQL>> Include databases in disk usage calculations

Otherwise, resolve this issue you have to edit following file /var/cpanel/cpanel.config

[email protected][~]vi /var/cpanel/cpanel.config

Search line “disk_usage_include_sqldbs” in file “ /var/cpanel/cpanel.config “ and change it

From

disk_usage_include_sqldbs=0

to

disk_usage_include_sqldbs=1

And run script

/scripts/update_db_cache

 

 

5.00 avg. rating (95% score) - 1 vote
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive