MySQL DB size shows 0 Mb in cPane

We have restored the database sucessfully but its not reflected in MYSQL database.
when you will log into cPanel >> Databases >> MySQL databases will see that the size all of DB is shown by 0 Mb.
For that you need to do below mentioned tweaks :-

1) Edit /var/cpanel/cpanel.config
Then run the following:
This may take some time, but after this, you should see the database disk usage show up accurately in cPanel.