Skip to content
Snippets Groups Projects
Commit 393bd9b0 authored by Marek Szuba's avatar Marek Szuba
Browse files

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.
parent 744f93a0
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment