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 <[email protected]>

> 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]<symfony-users%[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]<symfony-users%[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]<symfony-users%[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

Reply via email to