Wordpress moved to utf8mb4_unicode_ci / utf8mb4_unicode_520_ci where available and left the utf8mb4_general_ci behind. It seems odd that the default server-collation is utf8mb4_general_ci.
Now that we have uc1400 we should use this in new installations.
I suggest if change the default my.cnf, then as follows:
character-set-server=utf8mb4
character-set-collations=utf8mb4=uca1400_ai_ci
This:
will automatically change collation-server to uca1400_ai_ci
will on the SQL level, e.g. in CREATE scripts, automatically resolve:
CHARACTER SET utf8mb4
to
CHARACTER SET utf8mb4 COLLATE uca1400_ai_ci
If we don't set character-set-collations=utf8mb4=uca1400_ai_ci, then in all contexts where we have CHARACTER SET without COLLATE, it will still be resolved to utf8mb4_general_ci, which is not desirable.
Alexander Barkov
added a comment - - edited I suggest if change the default my.cnf, then as follows:
character-set-server=utf8mb4
character-set-collations=utf8mb4=uca1400_ai_ci
This:
will automatically change collation-server to uca1400_ai_ci
will on the SQL level, e.g. in CREATE scripts, automatically resolve:
CHARACTER SET utf8mb4
to
CHARACTER SET utf8mb4 COLLATE uca1400_ai_ci
If we don't set character-set-collations=utf8mb4=uca1400_ai_ci , then in all contexts where we have CHARACTER SET without COLLATE , it will still be resolved to utf8mb4_general_ci, which is not desirable.
People
Daniel Black
Daniel Black
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1730,"ttfb":531.7999997138977,"pageVisibility":"visible","entityId":125476,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"847cbf73-e551-4077-a4da-a030319349fa","navigationType":0,"readyForUser":1818.2999997138977,"redirectCount":0,"resourceLoadedEnd":1298,"resourceLoadedStart":544.6999998092651,"resourceTiming":[{"duration":263.2000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":544.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":544.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":807.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":263.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":545.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":545.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":808.5,"responseStart":0,"secureConnectionStart":0},{"duration":581.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":545.1999998092651,"connectEnd":545.1999998092651,"connectStart":545.1999998092651,"domainLookupEnd":545.1999998092651,"domainLookupStart":545.1999998092651,"fetchStart":545.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":826.5,"responseEnd":1126.7999997138977,"responseStart":860.2999997138977,"secureConnectionStart":545.1999998092651},{"duration":720.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":545.4000000953674,"connectEnd":545.4000000953674,"connectStart":545.4000000953674,"domainLookupEnd":545.4000000953674,"domainLookupStart":545.4000000953674,"fetchStart":545.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":827,"responseEnd":1265.6999998092651,"responseStart":862.2999997138977,"secureConnectionStart":545.4000000953674},{"duration":317.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":545.6999998092651,"connectEnd":545.6999998092651,"connectStart":545.6999998092651,"domainLookupEnd":545.6999998092651,"domainLookupStart":545.6999998092651,"fetchStart":545.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":827,"responseEnd":863.5999999046326,"responseStart":859.5,"secureConnectionStart":545.6999998092651},{"duration":318,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":545.7999997138977,"connectEnd":545.7999997138977,"connectStart":545.7999997138977,"domainLookupEnd":545.7999997138977,"domainLookupStart":545.7999997138977,"fetchStart":545.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":827.2999997138977,"responseEnd":863.7999997138977,"responseStart":861.5999999046326,"secureConnectionStart":545.7999997138977},{"duration":317.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":546,"connectEnd":546,"connectStart":546,"domainLookupEnd":546,"domainLookupStart":546,"fetchStart":546,"redirectEnd":0,"redirectStart":0,"requestStart":827.5,"responseEnd":863.4000000953674,"responseStart":858.6999998092651,"secureConnectionStart":546},{"duration":278.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":546.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":546.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":824.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":335.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":546.4000000953674,"connectEnd":546.4000000953674,"connectStart":546.4000000953674,"domainLookupEnd":546.4000000953674,"domainLookupStart":546.4000000953674,"fetchStart":546.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":862.9000000953674,"responseEnd":882.1999998092651,"responseStart":880.5,"secureConnectionStart":546.4000000953674},{"duration":306,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":546.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":546.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":852.5,"responseStart":0,"secureConnectionStart":0},{"duration":341.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":546.6999998092651,"connectEnd":546.6999998092651,"connectStart":546.6999998092651,"domainLookupEnd":546.6999998092651,"domainLookupStart":546.6999998092651,"fetchStart":546.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":863.0999999046326,"responseEnd":888.0999999046326,"responseStart":881.4000000953674,"secureConnectionStart":546.6999998092651},{"duration":741.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":549.7999997138977,"connectEnd":549.7999997138977,"connectStart":549.7999997138977,"domainLookupEnd":549.7999997138977,"domainLookupStart":549.7999997138977,"fetchStart":549.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":983.9000000953674,"responseEnd":1291.0999999046326,"responseStart":1269.1999998092651,"secureConnectionStart":549.7999997138977},{"duration":748.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":549.9000000953674,"connectEnd":549.9000000953674,"connectStart":549.9000000953674,"domainLookupEnd":549.9000000953674,"domainLookupStart":549.9000000953674,"fetchStart":549.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1111.5,"responseEnd":1298,"responseStart":1280,"secureConnectionStart":549.9000000953674},{"duration":62.700000286102295,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1295.1999998092651,"connectEnd":1295.1999998092651,"connectStart":1295.1999998092651,"domainLookupEnd":1295.1999998092651,"domainLookupStart":1295.1999998092651,"fetchStart":1295.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1320.1999998092651,"responseEnd":1357.9000000953674,"responseStart":1356.9000000953674,"secureConnectionStart":1295.1999998092651}],"fetchStart":0,"domainLookupStart":320,"domainLookupEnd":320,"connectStart":320,"connectEnd":350,"secureConnectionStart":331,"requestStart":351,"responseStart":531,"responseEnd":541,"domLoading":538,"domInteractive":1963,"domContentLoadedEventStart":1963,"domContentLoadedEventEnd":2010,"domComplete":4269,"loadEventStart":4269,"loadEventEnd":4269,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1879.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1880.2999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":1880.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1881.9000000953674},{"name":"activityTabFullyLoaded","time":2036.5}],"measures":[],"correlationId":"d5bb3dbc7a0d2c","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
bar, comments?