So what can i actually do for change my database conection in Symfony?

I've my database.yml with 3 different conection and I wish to change "on fly" of database.

Interesting help!

You are able to bind tables to some specific connection - then doctrine produces them there, and whenever they are being used, doctrine instantly knows which link with use.

This situation comes from The symfony and Doctrine book, chapter 2:

  connection: master
    name: string(255)
    username: string(255)
    password: string(255)