Type:
Task
Priority:
Major
Resolution:
Fixed
A user got the following errors from mariadb-upgrade in MariaDB 10.11:
ERROR 1267 (HY000) at line 3127: Illegal mix of collations (utf8mb3_unicode_ci,IMPLICIT) and (utf8mb3_general_ci,IMPLICIT) for operation '='
I cannot find the source of the error as I don't know the query. The line 3127 in
mysql_fix_privilege_tables_sql.c also does not give me any idea of what is wrong.
To make it easier to find errors like the above we should enhance mariadb_upgrade to provide the query when something goes wrong when running mariadb_upgrade and it fails in mysql_fix_privilege_tables.
Michael Widenius
made changes -
2024-06-15 11:23
Field
Original Value
New Value
Fix Version/s
10.5
[ 23123
]
Michael Widenius
made changes -
2024-06-15 11:23
Assignee
Michael Widenius
[ monty
]
Michael Widenius
made changes -
2024-06-15 11:27
Description
A user got the following errors from mariadb-upgrade in MariaDB 10.11:
ERROR 1267 (HY000) at line 3127: Illegal mix of collations (utf8mb3_unicode_ci,IMPLICIT) and (utf8mb3_general_ci,IMPLICIT) for operation '='
I cannot find the source of the error as I don't know the query. The line 3127 in
mysql_fix_privilege_tables_sql.c also does not give me any idea of what is wrong.
To make it easier to find errors like the above we should enhance mariadb_upgrade to provide the query when something goes wrong when running fix
mysql_fix_privilege_tables.
A user got the following errors from mariadb-upgrade in MariaDB 10.11:
ERROR 1267 (HY000) at line 3127: Illegal mix of collations (utf8mb3_unicode_ci,IMPLICIT) and (utf8mb3_general_ci,IMPLICIT) for operation '='
I cannot find the source of the error as I don't know the query. The line 3127 in
mysql_fix_privilege_tables_sql.c also does not give me any idea of what is wrong.
To make it easier to find errors like the above we should enhance mariadb_upgrade to provide the query when something goes wrong when running mariadb_upgrade and it fails in mysql_fix_privilege_tables.
Michael Widenius
made changes -
2024-06-15 11:37
Status
Open
[ 1
]
In Progress
[ 3
]
Michael Widenius
made changes -
2024-06-25 13:35
issue.field.resolutiondate
2024-06-25 13:35:46.0
2024-06-25 13:35:45.636
Michael Widenius
made changes -
2024-06-25 13:35
Component/s
Upgrades
[ 15807
]
Fix Version/s
10.5.26
[ 29832
]
Fix Version/s
10.5
[ 23123
]
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
{"report":{"fcp":1236.0999999046326,"ttfb":442.8999996185303,"pageVisibility":"visible","entityId":129607,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"f33b4ec2-5bb0-423f-9288-591996ab0d96","navigationType":0,"readyForUser":1319,"redirectCount":0,"resourceLoadedEnd":1497.5,"resourceLoadedStart":447.7999997138977,"resourceTiming":[{"duration":201.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":447.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":447.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":649.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":201.7999997138977,"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":448,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":448,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":649.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":261.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":448.2999997138977,"connectEnd":448.2999997138977,"connectStart":448.2999997138977,"domainLookupEnd":448.2999997138977,"domainLookupStart":448.2999997138977,"fetchStart":448.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":448.2999997138977,"responseEnd":710,"responseStart":710,"secureConnectionStart":448.2999997138977},{"duration":330.5,"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":448.5,"connectEnd":448.5,"connectStart":448.5,"domainLookupEnd":448.5,"domainLookupStart":448.5,"fetchStart":448.5,"redirectEnd":0,"redirectStart":0,"requestStart":448.5,"responseEnd":779,"responseStart":779,"secureConnectionStart":448.5},{"duration":334.7999997138977,"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":448.59999990463257,"connectEnd":448.59999990463257,"connectStart":448.59999990463257,"domainLookupEnd":448.59999990463257,"domainLookupStart":448.59999990463257,"fetchStart":448.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":448.59999990463257,"responseEnd":783.3999996185303,"responseStart":783.3999996185303,"secureConnectionStart":448.59999990463257},{"duration":335.59999990463257,"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":448.7999997138977,"connectEnd":448.7999997138977,"connectStart":448.7999997138977,"domainLookupEnd":448.7999997138977,"domainLookupStart":448.7999997138977,"fetchStart":448.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":448.7999997138977,"responseEnd":784.3999996185303,"responseStart":784.3999996185303,"secureConnectionStart":448.7999997138977},{"duration":336.30000019073486,"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":448.8999996185303,"connectEnd":448.8999996185303,"connectStart":448.8999996185303,"domainLookupEnd":448.8999996185303,"domainLookupStart":448.8999996185303,"fetchStart":448.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":448.8999996185303,"responseEnd":785.1999998092651,"responseStart":785.1999998092651,"secureConnectionStart":448.8999996185303},{"duration":421.69999980926514,"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":449.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":449.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":870.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":336.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":449.3999996185303,"connectEnd":449.3999996185303,"connectStart":449.3999996185303,"domainLookupEnd":449.3999996185303,"domainLookupStart":449.3999996185303,"fetchStart":449.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":449.3999996185303,"responseEnd":786.2999997138977,"responseStart":786.1999998092651,"secureConnectionStart":449.3999996185303},{"duration":421.59999990463257,"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":449.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":449.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":871.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":337.30000019073486,"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":449.7999997138977,"connectEnd":449.7999997138977,"connectStart":449.7999997138977,"domainLookupEnd":449.7999997138977,"domainLookupStart":449.7999997138977,"fetchStart":449.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":449.7999997138977,"responseEnd":787.0999999046326,"responseStart":787.0999999046326,"secureConnectionStart":449.7999997138977},{"duration":621.5999999046326,"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":456.7999997138977,"connectEnd":456.7999997138977,"connectStart":456.7999997138977,"domainLookupEnd":456.7999997138977,"domainLookupStart":456.7999997138977,"fetchStart":456.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":456.7999997138977,"responseEnd":1078.3999996185303,"responseStart":1078.3999996185303,"secureConnectionStart":456.7999997138977},{"duration":1026.3000001907349,"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":456.8999996185303,"connectEnd":456.8999996185303,"connectStart":456.8999996185303,"domainLookupEnd":456.8999996185303,"domainLookupStart":456.8999996185303,"fetchStart":456.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":456.8999996185303,"responseEnd":1483.1999998092651,"responseStart":1483.1999998092651,"secureConnectionStart":456.8999996185303},{"duration":196.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":883.8999996185303,"connectEnd":883.8999996185303,"connectStart":883.8999996185303,"domainLookupEnd":883.8999996185303,"domainLookupStart":883.8999996185303,"fetchStart":883.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":883.8999996185303,"responseEnd":1080.2999997138977,"responseStart":1080.2999997138977,"secureConnectionStart":883.8999996185303},{"duration":314.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1176,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1176,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1490.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":313.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1177.0999999046326,"connectEnd":1177.0999999046326,"connectStart":1177.0999999046326,"domainLookupEnd":1177.0999999046326,"domainLookupStart":1177.0999999046326,"fetchStart":1177.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1177.0999999046326,"responseEnd":1490.5,"responseStart":1490.5,"secureConnectionStart":1177.0999999046326},{"duration":320,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1177.5,"connectEnd":1177.5,"connectStart":1177.5,"domainLookupEnd":1177.5,"domainLookupStart":1177.5,"fetchStart":1177.5,"redirectEnd":0,"redirectStart":0,"requestStart":1177.5,"responseEnd":1497.5,"responseStart":1497.5,"secureConnectionStart":1177.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":266,"responseStart":443,"responseEnd":453,"domLoading":446,"domInteractive":1531,"domContentLoadedEventStart":1531,"domContentLoadedEventEnd":1579,"domComplete":2276,"loadEventStart":2276,"loadEventEnd":2277,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1492.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1492.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1493.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1495.6999998092651},{"name":"activityTabFullyLoaded","time":1614.1999998092651}],"measures":[],"correlationId":"d0c0cc63b3218b","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":125,"dbReadsTimeInMs":22,"dbConnsTimeInMs":34,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Pushed to 10.5 tree