I want to connect with multiple databases on different servers in zf2
using doctrine
/DoctrineMongoODMModule
. How can I achieve this?
Asked
Active
Viewed 1,187 times
2

alecxe
- 462,703
- 120
- 1,088
- 1,195

Navneet Garg
- 1,364
- 12
- 29
-
I hope this will help , http://stackoverflow.com/questions/14003187/configure-multiple-databases-in-zf2 http://stackoverflow.com/questions/15277277/connect-to-multiple-data-bases-using-zend-framework-2-and-doctrineormmodule – Deep Kakkar May 25 '15 at 14:03
-
solution not working :( – Navneet Garg Jul 17 '15 at 05:28
1 Answers
1
You can use standard flow for one connection.. For second connection you can create it by factory into the service manager.. Into the second part of this chapter you can see how create connection..

GianArb
- 1,604
- 1
- 14
- 17