Bug #50255

Different collations runnig migrate/update

Added by Carsten Bleicker almost 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-07-21
Due date:
% Done:

0%


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

Also available in: Atom PDF