Explicitly set default collation on MySQL database
Turns out merely setting mysql_enable_utf8 to 0 does not help if the database server defaults to utf8, one needs to adjust the default collation for the database. In theory we could alternatively adjust the character set, that said it is somewhat safer to adjust collation because that way we can make sure to use latin1_swedish_ci (which is the collation declared for all tables in the xref schema file) instead of relying on latin1_swedish_ci being the default Latin1 collation. Note: EBI MySQL servers (MySQL 5.6 as of yesterday) seem to force the character set and collation to latin1 and latin1_swedish_ci, respectively, regardless of whether mysql_enable_utf8 is enabled or not, - but let us not unnecessarily confuse the Perl client. Resolves ENSCORESW-3236.
Please register or sign in to comment