As far as I've understood the doctrine.dbal configuration is done in the global symfony2 config file, which is located in app/config/config.yml if we're using yaml like I am. I also copied Yan's configuration and actually tried it first without making any changes, then I threw in my database name and password with no better luck.
The error has been exactly the same all the way through claiming that there are no configured connections. I'm not sure if it's even trying to open a connection because I assume it would throw a more specific error if the password was wrong for example. I've also confirmed that symfony reads the config.yml file, but of course it's up to symfony2 to decide what to do with the data, hehe. I cloned symfony-bootstrapper, symfony2, and all the vendors from github last night, so they're very fresh. I don't have exprience from previous symfony2 snapshots so I can't say if this config has worked in the past. On Mon, Jan 10, 2011 at 3:32 PM, Alessandro Nadalin < [email protected]> wrote: > 2011/1/10 Yan <[email protected]>: > > This is my configuration. It can create database, drop database and > > create schema. > > so is your problem solved? > On Mon, Jan 10, 2011 at 3:38 PM, Gustavo Adrian <[email protected] > wrote: > I'm having the same problem. It was working two days ago before updating my > vendors. Was anything changed concerning the doctrine connection > configuration? I was using: > > doctrine.dbal: > dbname: mydb > user: myuser > password: mypassword > > > > Thanks! > > On Mon, Jan 10, 2011 at 10:32 AM, Alessandro Nadalin < > [email protected]> wrote: > >> 2011/1/10 Yan <[email protected]>: >> > This is my configuration. It can create database, drop database and >> > create schema. >> >> so is your problem solved? >> >> -- 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
