Doctrine assumes that a database was already created. The name of the DB should be provided upfront.
The commands of DoctrineORMModule are the same one provided with the symfony full-stack framework (regarding the ORM/DBAL). Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 24 June 2016 at 11:13, Gilbert Armengaud <[email protected]> wrote: > Hello everyone, > > I have a question about using DoctrineORMModule. > I would like to create and manage databases such as Symfony with the > commands: doctrine: database: create and doctrine: database: drop. > > I try to implement these commands but when I run doctrine: database: > create, he replies that he does not find the database I want to create. > > Could anyone explain to me what Doctrine does during the initialization > phase of my ZF2 application, I'm a little puzzle. Especially is it possible > to connect to my MySQL server without having to provide a database name? > > Thank you in advance for any explanations you may provide to me. > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
