Mysql Database size shows 0 in cPanel

Error : database size not updated in cpanel

Solution :

In cPanel >> mysql databases , it shows database size as ” zero” 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.


Both comments and pings are currently closed.

Comments are closed.