You have tabs for idention, take whitespaces instead:

all:
  doctrine:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:host=localhost;dbname=CHCISDB'
      username: root
      password: null



Am 16.11.2010 um 12:37 schrieb Pratik Mazumder:

Hi Alexander

Changed the indentions but still doesn't work :(

Pratik

On Tue, Nov 16, 2010 at 4:57 PM, Alexandre Salomé <[email protected] > wrote:
It's about indentation :

all:
   doctrine:
     class: sfDoctrineDatabase
     param:
       dsn: 'mysql:host=localhost;dbname=CHCISDB'
       username: root
       password: null

2010/11/16 Pratik <[email protected]>
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 [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



--
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 [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


--
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

--
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

Reply via email to