SampaioLeal that's strange because it doesn't look like something related to the database.
Are you switching a single website install between two databases ? How do you switch database ? Do you update the config.php of your site ? If you have two different config.php you copy-paste, maybe there's another difference in configuration ?
Or it's related to an extension that's enabled in the settings of one database and not in the other.