Hi
>From PR4 release i have poblem with getting more connections then
default one.
Here is my config.yml:
doctrine.dbal:
charset: UTF-8
default_connection: default
connections:
default:
dbname: db1
user: root
password:
host: localhost
port: ~
conn1:
dbname: db1
user: root
password:
host: localhost
port: ~
conn2:
dbname: db2
user: root
password:
host: localhost
port: ~
doctrine.orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
default_entity_manager: conn1
default_database: conn1
entity_managers:
default:
connection: conn1
conn1:
connection: conn1
conn2:
connection: conn2
there is no way i can get conn2 by:
$this->get('doctrine.dbal.conn2_connection');
i dont have only method to retrieve conn1 in my
appDevDebugProjectContainer class in cache
can anyone tell me how to handle multiple db connections since PR4?
Regards
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en