Quantcast
Channel: Linux Server | cPanel | WebHosting
Viewing all articles
Browse latest Browse all 16

Databases Showing 0MB in cPanel

$
0
0

Here is how to include the databases in cPanel user’s disk usage calculations.

From WHM navigate to:

WHM >> Server Configuration >> Tweak Settings >> SQL >> enable  “Include databases in disk usage calculations:

Do accomplish the same via the command line:

1. Run the following command first:

#/usr/local/cpanel/bin/setupdbmap

2. Modify the following file:

#vi /var/cpanel/cpanel.config

Set disk_usage_include_sqldbs as follows:

disk_usage_include_sqldbs=1

3. Then run:

#/scripts/update_db_cache

All set! Hope this helps!

 

 


Viewing all articles
Browse latest Browse all 16

Trending Articles