Bug #50255
Different collations runnig migrate/update
Status: | New | Start date: | 2013-07-21 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Affected Flow version: | Flow 2.0.0 beta 2 |
Description
Hi,
i am runnig flow doctrine:migrate and this results in a collation on the abstractparty f.e. with utf8_general_ci.
this was confusing me because my mysql settings has default utf8_unicode_ci.
i deleted the whole db and runnig flow doctrine:update. now the collation of any field is utf8_unicode_ci.
deleting it again, runnig migrate ... results in utf8_general_ci.
i have no idea where these different collations comes from, any idea?
what helps is setting some settins in mysql config "my.cnf":
init-connect = 'SET NAMES utf8'
init-connect = 'SET collation_connection = utf8_unicode_ci'
after this change migrate and update results in utf8_unicode_ci.
kind regards
carsten bleicker