Cpanel Hosting

Monday, 11 February 2013

Mysql Database size shows 0 in cPanel


Some times , database size doesn't update in Cpanel . You can check it through Cpanel===> MySQL database ,  it shows database size “zero” even if there is available database data. You should follow below steps to resolve this.
==============================================
root@server [#] vi var/cpanel/cpanel.config
and search for following line.
disk_usage_include_sqldbs=0 ( set it to 1 instead of 0 )
wq:
then you need to  run the below command to update the changes.
root@sever[#] /scripts/update_db_cache
==================================================
then you check your mysql database site, it will show correct database size,

No comments: