In magento2 community edition is it possible to have multiple database connection inside our custom module? Example, one database pointing to wp content and another to magento 2 so that the module could fetch cms from wp.
According to this link https : // www . maxpronko . com/blog/new-database-connection-in-magento-2 (remove space) we need to change the env.php file. But how to use it further in our module for data retrieval? Any thoughts?