Yes there is no way in Doctrine 2 for set a default collation on database
creation.

The same issue apply to table creation,
the parameters exists on the DBAL but there is no setting / annotation to
force a table collation.

The only way for me to get my table UFT8 was to manualy create the database
(or change de mysql conf...).

I think there is a patch needed here.

On Mon, May 9, 2011 at 10:40 AM, Gediminas Morkevicius <
gediminas.morkevic...@gmail.com> wrote:

> I personally solved this by adding a custom command which changes the
> collation, and executing it right after doctrine:database:create
>
>
> On Mon, May 9, 2011 at 1:50 AM, Donald Tyler <chekot...@gmail.com> wrote:
>
>> I would suggest searching the Doctrine site and mailing lists, since this
>> is more of a Doctrine question.
>>
>>
>> On Sun, May 8, 2011 at 7:47 AM, Inori <soul.in.twili...@gmail.com> wrote:
>>
>>> Hi, I'm trying to change default collation, charset and engine when
>>> creating database with doctrine:database:create.
>>> Right now it sets to latin_swedish and MyISAM.
>>>
>>> On this topic I've only found this, but it didn't really answer my
>>> question:
>>>
>>> http://groups.google.com/group/symfony-users/browse_thread/thread/7402b5bb2dc19945/6f376899e154b987?lnk=gst&q=collation#6f376899e154b987
>>>
>>> --
>>> 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
>>>
>>
>>  --
>> 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
>>
>
>  --
> 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
>



-- 
Damien ALEXANDRE http://www.clever-age.com
Clever Age - Digital Architecture
Clever Garden - Digital Landscape
Tél: +33 1 53 34 66 10  GSM: +33 6 07 91 58 03

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

Reply via email to