how to disable database configuration in symfony2

后端 未结 2 699
夕颜
夕颜 2021-01-12 02:46

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

2条回答
  •  悲哀的现实
    2021-01-12 03:10

    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.

提交回复
热议问题