Renamed Database, But DB List in Hestia CP Not Updating

How do I force Hestia CP to recognize that I have renamed a couple of my databases? Is there an internal lookup table somewhere that I can edit?

The sites using the renamed DBs are fully functional, but the list of DBs in the control panel still shows the old names and does not include the new names. Rename was completed using phpMyAdmin.

Hestia doesn’t support renaming databases and will not update the names of existing ones either, because it has no idea if they’ve changed or what they’ve been renamed to.

If you’ve at least followed the user_dbname pattern (it’s important that database names start with the user’s name user_), then you could manually edit the file /usr/local/hestia/data/users/user/db.conf and change DB='user_previousname' to DB='user_newname'. However, do this at your own risk.

1 Like