MySQL database not showing in cPanel

If database is not showing in cpanel, make sure database exists in the server. If it exists, make sure permission/ownership of database is correct.

Then check whether database details are listed in /var/cpanel/databases/username.yaml

If it is not listed in it, run following command to fix it.

/usr/local/cpanel/bin/setupdbmap

Check cpanel and database should be listed in it.

If database size is zero while listing, run the following command to fix it.

/scripts/update_db_cache

If it’s not works

/scripts/upcp –force

/scripts/checkperlmodules –force

/usr/local/cpanel/bin/setupdbmap

Was this answer helpful?

 Print this Article

Also Read

How to use cPanel to manage unwanted e-mail (spam)?

This article describes how to use the SpamAssassin™ tool in cPanel to reduce the amount of...

How can I limit access to certain directories on my server by requiring a password using cPanel/WHM?

In cPanel, it is very simple to limit access to a directory on your server. This can be used to...

Unable to see my website

We have sometime receive clients complain of server not reachable, while their IP are blocked by...

.htaccess Tutorial

Summary In this tutorial you will find out about the .htaccess file and the power it has to...

How to host the primary domain from a subfolder (.htaccess)?

Summary The public_html directory for all of its Web site files. Addon domains use sub...