In many of my previous articles, I have covered Entity Managers and Doctrine in Symfony. The tutorials have covered the process of generating and configuring entities in Symfony. Now a common scenario in real world Symfony projects is the requirement of working with multiple databases. In many cases, the project requires access to two or more databases simultaneously for Doctrine related actions. I will cover this topic in this tutorial.
For the purpose of this tutorial, I am assuming that you have already installed Symfony on Cloudways and that it’s running properly in the browser.
##The Traditional DB Config While installing Symfony, the Symfony Installer asks questions about the database credentials:
The following credentials are available in the parameters.yml file: