title: Doctrine 2 - Multiple databases configuration and use
body: <p>I have a Symfony2 project with a MySQL db:</p>
  
  <pre><code>#app/config/config.yml
  doctrine:
      dbal:
          driver:   %database_driver%    # &lt;
          host:     %database_host%      # |
          port:     %database_port%      # | Defined in
          dbname:   %database_name%      # | parameters.ini
          user:     %database_user%      # |
          password: %database_password%  # &lt;
  
      orm:
          auto_generate_proxy_classes: %kernel.debug%
          auto_mapping: true
  </code></pre>
  
  <p>Now I'd like to make simple queries (like routine calls) to an other database.</p>
  
  <p>Should I define an other dbal into the config file ?<br>
  If yes, how can it be configured while keeping the default connection for the project ?<br>
  Do I have to configure an orm for each connection ?</p>