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

root@support[~]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

 

 

Get Free cPanel Knowledge Base

Thank you for subscribing.

Something went wrong.

5.00 avg. rating (96% score) - 1 vote