How to fix the missing Databases in cPanel

Recently we have talk a lot about MySQL error on this blog and we actually want to continue talking with you about this.
After upgrading our cPanel, many of our customers indicated that databases were missing from their cPanels,In this case you may find the databases under /var/lib/mysql directory via shell, but missing in cPanel interface.
There are many things that can cause this, such as  corrupted Perl module and MySQL not running, but the major cause that I’ve seen is from the new database mapping performance.
Fix is very simple you may run the following command  to resolve it:

/scripts/update_db_cache
/usr/local/cpanel/bin/setupdbmap

Login to cPanel  you should now be able to see the databases that were previously missing.