The new app I\'m working on is using Symfony2. There is no database connection to use. Instead it\'s build upon many web service calls. Under Symfony/app/config, I would lik
Remove DoctrineBundle initialisation from your AppKernel and doctrine
configuration from your app/config/config*.yml
files. It registers doctrine configuration in the container. That's why container complains if you try removing the parameters (bundle is enabled and looks for those parameters).
In latest versions of Symfony you'll also need to remove the doctrine channel from monolog configuration in config_dev.yml
(remove the channels: ["doctrine"]
line).
Symfony2 is integrated with Doctrine2 by default. You cannnot remove the configuration, unless you set another integration bundle.
It would be effortless if you simply leave these fields empty. A connection to the database would be made only when the application requires it, which, in your case, should not happen.