Code:
/usr/local/cpanel/bin/setupdbmap

 

If that does not correct it, then please go to /var/cpanel/databases location and run this command to check for the database still existing:

Code:
cd /var/cpanel/databases
cat username.yaml

 

Here username is the cPanel username for the account.

Next, in that same /var/cpanel/databases location, check for any existence of the database:

Code:
grep "databasename" /var/cpanel/databases/*
Was this answer helpful? 13 Users Found This Useful (40 Votes)