<div dir="ltr"><div>Hi all,</div><div><br></div><div>OpenStack-Ansible has been configuring the default database collation as 'utf8_unicode_ci'.</div><div>We've recently run into an issue with new deployments during cinder database migrations where a foreign key column had different a collation between the parent and child table[1].</div><div><br></div><div>That's since been fixed, and we're now looking at changing the default collation to match the default of MySQL/MariaDB's utf8 character set to avoid the possibility of this same discrepancy with new deployments[2].</div><div><br></div><div>The question then comes to how to best handle upgrades from Mitaka to Newton.</div><div>Any input for the current proposal[3] from anyone that may have experience with any project's database migration scripts, or MySQL-based databases in general, would be appreciated.</div><div><br></div><div>Also,</div><div>Have any of the other deployment projects been effected by this?</div><div>Are there any in-progress efforts to help further enforce a standard character set and collation through DB migration scripts?</div><div><br></div><div>Thanks</div><div><br></div><div>[1] <a href="https://bugs.launchpad.net/cinder/+bug/1594195">https://bugs.launchpad.net/cinder/+bug/1594195</a></div><div>[2] <a href="https://review.openstack.org/#/c/331786/">https://review.openstack.org/#/c/331786/</a></div><div>[3] <a href="https://review.openstack.org/#/c/333733/">https://review.openstack.org/#/c/333733/</a></div></div>