As you may know, cPanel has vastly improved their migration capabilities by recently changing how databases are mapped to user accounts, now allowing database names without user prefixes. However, this seems to cause an issue when databases exist on the server with invalid names.
Check your /var/lib/mysql folder and see if you maybe have folders in there named incorrectly. On one of my servers, the admin renamed several of the databases to $dbname.bak when making changes, and when the database quota script ran it was erroring out. After you move or remove these folders, run the following commands:
/scripts/update_db_cacheAssuming you’ve removed all the invalid databases from the MySQL folder, you should now be able to see the ones that were previously missing.
/usr/local/cpanel/bin/setupdbmap
No comments:
Post a Comment