문제

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