0

I want to use a second database for the product data.
Is it possible to connect to two database and using of JFactory::getDbo(); ?

2
  • Just out of curiosity, why would you need two separate databases for a Joomla instance?
    – Lodder
    Commented Jan 29, 2019 at 20:44
  • @Lodder The maintenance of the product data is not really under my control.
    – Lovntola
    Commented Jan 29, 2019 at 20:55

1 Answer 1

1

Yep.

Official doc https://docs.joomla.org/Connecting_to_an_external_database

Also note this question has been asked before. E.G. I am trying to connect two database with one Joomla site

2
  • Hyperlink-only answers are low value because they may break. Are you happy to vote to close with the duplicate question? Commented Jan 29, 2019 at 23:02
  • You are right it came be closed by duplicated
    – Lovntola
    Commented Jan 30, 2019 at 17:32

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