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 change Admin password in VestaCP?

To change admin password for vestaCP follow below steps.1. Login to putty by root password.2....

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...

cPanel Exim How To Clear The Mail Queue

Here’s the proper way to clear the exim mail queue on a cpanel server. /etc/init.d/exim...

How to Repair and Optimize Database for Website performance?

People with unoptimized database always face slow website response and performance. Below are the...

.htaccess Tutorial

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

Powered by WHMCompleteSolution