Cpanel shows 0mb size for all databases after migration

Recently we have discuss about Roundcube database error,Now we have another database error.
When logged into our cPanel >> Databases >> MySQL databases we see that the size of all of our Databases is showing 0 Mb.
Solution is far easier to just update this setting in WHM > Tweak Settings area.
WHM > Tweak Settings > Include databases in disk usage calculations
Then save the changes.
databases
Second,try editing the /var/cpanel/cpanel.config file manually:

/var/cpanel/cpanel.config

Change :

disk_usage_include_sqldbs=1
/scripts/update_db_cache

Wait for few moments depending upon the databases and the users you have and this should fix the problem.