1

When setting up the database settings of a project I know that there is the default active group "expressionengine" found in the database.php file and you can add more than one group, I was just wondering if there is a way that I could load at most 2 database connections at the same time.

2
  • What are you trying to accomplish? In what ways would the second database connection be used? Would you expect ExpressionEngine to use the second connection for something, or would you use it in a custom add-on?
    – Bryan
    Mar 24, 2015 at 13:35
  • Yes, it would be used for a custom add-on for my site. It would be just for reading the data from the other database.
    – sumpreto
    Mar 25, 2015 at 5:07

1 Answer 1

0

Sorry it took too long, if anyone wanted to do this and have multiple connections just follow these steps like I did: http://tutsnare.com/connecting-multiple-database-in-codeigniter/. hope it helps

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.