schema.yml definition? But that's an empty file till now. I am trying to make the same with php symfony doctrine:build-schema
On Tue, Nov 16, 2010 at 5:12 PM, Alexandre Salomé < alexandre.sal...@gmail.com> wrote: > I also noticed that doctrine: is indented with 3 spaces. Fix it to two. > > Still the same error ? > > It can come from your schema.yml definition. > > Triple check your indentation, and copy your schema to us. > > 2010/11/16 Pratik Mazumder <pmazumder2...@gmail.com> > >> Hi Alexander >> >> Changed the indentions but still doesn't work :( >> >> Pratik >> >> On Tue, Nov 16, 2010 at 4:57 PM, Alexandre Salomé < >> alexandre.sal...@gmail.com> wrote: >> >>> It's about indentation : >>> >>> all: >>> doctrine: >>> class: sfDoctrineDatabase >>> param: >>> dsn: 'mysql:host=localhost;dbname=CHCISDB' >>> username: root >>> password: null >>> >>> >>> 2010/11/16 Pratik <pmazumder2...@gmail.com> >>> >>>> Hi >>>> >>>> I am new to symfony. I have a database created in mysql. While trying >>>> to build the schema.yml by running php symfony doctrine:build-schema I >>>> get the following error: >>>> >>>> >>doctrine generating yaml schema from database >>>> >>>> Missing class name. >>>> >>>> >>>> The content of the databases.yml is: >>>> >>>> all: >>>> doctrine: >>>> class: sfDoctrineDatabase >>>> param: >>>> dsn: 'mysql:host=localhost;dbname=CHCISDB' >>>> username: root >>>> password: null >>>> >>>> Can anybody please help? >>>> >>>> Thanks >>>> >>>> Pratik >>>> >>>> -- >>>> 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 symfony-users@googlegroups.com >>>> To unsubscribe from this group, send email to >>>> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> >>>> For more options, visit this group at >>>> http://groups.google.com/group/symfony-users?hl=en >>>> >>> >>> >>> >>> -- >>> Alexandre Salomé >>> http://alexandre-salome.fr >>> >>> -- >>> 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 symfony-users@googlegroups.com >>> To unsubscribe from this group, send email to >>> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/group/symfony-users?hl=en >>> >> >> -- >> 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 symfony-users@googlegroups.com >> To unsubscribe from this group, send email to >> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/symfony-users?hl=en >> > > > > -- > Alexandre Salomé > http://alexandre-salome.fr > > -- > 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 symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en