Multi-master, master master master setup with multi-db

I'm trying to set up multi master with multidb for master-master mysql replication

does it work with multi db setup?

Sam