Posts tagged Mysql Database size showing ‘0’ in cPanel

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 :

root@server [#] 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

root@sever[#] /scripts/update_db_cache

That’s  all you are done.