Remove duplicated database

Hi! somewhat related to Error Duplicate Entry for Database - #3 by jins-agridigital but not quite the same: I simply want to get rid of one database, making every question, dashboard, etc, point to the one that will remain.

Is there a set of statements I could execute for removing the duplicated one + making everything using it point to the now-unique one?

Thanks in advance!

Hi! not unless you manually edit the database and point all questions to the new one. There's no automated tool unfortunately