Introduction
Sometimes, a cPanel user's interface will show a database that has been manually deleted or not show a database that was manually created.
Procedure
You can use the "/scripts/rebuild_dbmap" script to rebuild the user's database list.
1. First, run the script with the --noop flag to preview the changes: ( Be sure to replace $USER with the desired username )
/scripts/rebuild_dbmap --noop $USER
2. After you review the output and confirm these are the changes you want to make, you can run the script without the --noop flag:
/scripts/rebuild_dbmap $USER
3. If further issues are encountered with removed databases showing, you may be able to resolve them by updating the database cache.
/scripts/update_db_cache
Please note that this script must be run as the root user.
You can reference the link below for more information:
Comments
0 comments
Article is closed for comments.