سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top