Use multiple connections
cruzprojects opened this issue · 2 comments
cruzprojects commented
How can I use more than one connection in the same php application using Propel2?
For example, one for MySql and other for PostgreSQL, both at the same time.
mringler commented
The documentation has examples how to set up multiple connections. Then you define a database-element in schema.xml for each connection, they are bound to the connection via the name
attribute. The archivable behvavior documentation has an example where a second connection is used for storing backups.
I have never used it myself, so I can't tell you how well it works. Feel free to share how it is going.
floriankraemer commented
@cruzprojects how is it going? Does it work for you?