Posts tagged Mysql Database size shows ‘0’

Mysql Database size shows ‘0’ in cPanel

In cPanel >> mysql databases , it shows database size as 0 even if it is not.

You just need to make  the below changes to fix  it :

[email protected] [#] vi   var/cpanel/cpanel.config
and search for following line.

disk_usage_include_sqldbs=0 ( set it to 1 instead of 0 )

then just run the command

[email protected][#] /scripts/update_db_cache

That’s  all you are done.