Question

I split my database on 3 parts. In my env php is set default, but in one of my model i need to connect to table wich located in different db. How can i change target db?

Était-ce utile?

La solution

i think this docs is what you need.

https://devdocs.magento.com/guides/v2.4/config-guide/multi-master/multi-master_masterdb.html

of course you have to make an adjustment to your needs

Cheers

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top