If database cache file for the user has not been updated, in that case you will see mysql database size ZERO in Cpanel. To fix this issue use following steps.
1. vim /var/cpanel/cpanel.config
here searh: disk_usage_include_sqldbs=0 and change it to 1
2. Now run following cpanel script,
Please fill in your email address to get most latest updates.