Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
mysql db driver
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Dec 2017 at 23:28 UTC
Updated:
12 Feb 2019 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
geek-merlinComment #3
daffie commented+1 for me. Drupal is fully multilingual. Drupal uses utf8mb4_general_ci at the moment and that results in: "fails to implement all of the Unicode sorting rules, which will result in undesirable sorting in some situations, such as when using particular languages or characters." See discussion at http://stackoverflow.com/a/766996.
Comment #4
sharique commentedInitial patch, in testSchema ASCII string test is failing for me.
Comment #5
sharique commentedIf I'm correct we need MySql 5.6 for utf8mb4_unicode_520_ci .
Comment #7
sharique commentedLangcodeToAsciiUpdateTest is failing on permission denied for me, any suggestions. Permission in sites/simpletest are fine.
Comment #9
sharique commentedTests are failing because MySql 5.5 does not support 'utf8mb4_unicode_520_ci' collation.
Comment #10
sharique commentedI did some experiment using " Database::getConnection()->version();" method, to add checks for version but can't determine appropriate version to use, I'm running Maridb version 5.5.5-10.2.11-MariaDB, which support utf8mb4_unicode_520_ci, but Mysql 5.5 does not support it.
Comment #12
geek-merlin;-)
Comment #13
sharique commentedHere is updated patch.
Comment #15
sharique commentedThanks, Alex for advice, now we need to updated tests to support for both cases.
Comment #17
sharique commentedFor MySql 8 default collation is set to utf8mb4_0900_ai_ci, so I think this ticket is no more relevant, hence closing.