Copying host.frm from and old system to MariaDB gave the following error one access, check or repair:
Incorrect key file for table 'host'; try to repair it
This error doesn't tell what is wrong or how to fix it.
Michael Widenius
made changes -
2014-01-22 13:37
Field
Original Value
New Value
Status
Open
[ 1
]
In Progress
[ 3
]
Michael Widenius
made changes -
2014-01-22 13:44
Summary
Bad error message when moving very old .frm files from MariaDB
Bad error message when moving very old .frm files to MariaDB 5.5
Michael Widenius
made changes -
2014-01-22 15:20
Status
In Progress
[ 3
]
Stalled
[ 10000
]
Michael Widenius
made changes -
2014-01-22 15:21
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2014-06-13 15:06
Workflow
defaullt
[ 33706
]
MariaDB v2
[ 42489
]
Sergei Golubchik
made changes -
2021-12-06 21:39
Workflow
MariaDB v3
[ 61453
]
MariaDB v4
[ 147420
]
{"report":{"fcp":924.3000001907349,"ttfb":251.9000005722046,"pageVisibility":"visible","entityId":29906,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"dcb2dd43-226e-450f-a2be-4f6a8a0c6e6f","navigationType":0,"readyForUser":999.5,"redirectCount":0,"resourceLoadedEnd":1065.1999998092651,"resourceLoadedStart":259.1000003814697,"resourceTiming":[{"duration":125.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":259.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":384.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":125.79999923706055,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":259.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":385.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":155.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":259.6000003814697,"connectEnd":259.6000003814697,"connectStart":259.6000003814697,"domainLookupEnd":259.6000003814697,"domainLookupStart":259.6000003814697,"fetchStart":259.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":259.6000003814697,"responseEnd":415.4000005722046,"responseStart":415.4000005722046,"secureConnectionStart":259.6000003814697},{"duration":245.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":259.69999980926514,"connectEnd":259.69999980926514,"connectStart":259.69999980926514,"domainLookupEnd":259.69999980926514,"domainLookupStart":259.69999980926514,"fetchStart":259.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":259.69999980926514,"responseEnd":505.5,"responseStart":505.5,"secureConnectionStart":259.69999980926514},{"duration":249.60000038146973,"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":260,"connectEnd":260,"connectStart":260,"domainLookupEnd":260,"domainLookupStart":260,"fetchStart":260,"redirectEnd":0,"redirectStart":0,"requestStart":260,"responseEnd":509.6000003814697,"responseStart":509.6000003814697,"secureConnectionStart":260},{"duration":249.9000005722046,"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":260.19999980926514,"connectEnd":260.19999980926514,"connectStart":260.19999980926514,"domainLookupEnd":260.19999980926514,"domainLookupStart":260.19999980926514,"fetchStart":260.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":260.19999980926514,"responseEnd":510.1000003814697,"responseStart":510.1000003814697,"secureConnectionStart":260.19999980926514},{"duration":250.10000038146973,"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":260.30000019073486,"connectEnd":260.30000019073486,"connectStart":260.30000019073486,"domainLookupEnd":260.30000019073486,"domainLookupStart":260.30000019073486,"fetchStart":260.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":260.30000019073486,"responseEnd":510.4000005722046,"responseStart":510.4000005722046,"secureConnectionStart":260.30000019073486},{"duration":304.4000005722046,"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":260.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":564.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":250.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":260.69999980926514,"connectEnd":260.69999980926514,"connectStart":260.69999980926514,"domainLookupEnd":260.69999980926514,"domainLookupStart":260.69999980926514,"fetchStart":260.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":260.69999980926514,"responseEnd":511,"responseStart":510.9000005722046,"secureConnectionStart":260.69999980926514},{"duration":304.0999994277954,"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":260.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":565,"responseStart":0,"secureConnectionStart":0},{"duration":250.5,"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":261.1000003814697,"connectEnd":261.1000003814697,"connectStart":261.1000003814697,"domainLookupEnd":261.1000003814697,"domainLookupStart":261.1000003814697,"fetchStart":261.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":261.1000003814697,"responseEnd":511.6000003814697,"responseStart":511.6000003814697,"secureConnectionStart":261.1000003814697},{"duration":456,"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":262,"connectEnd":262,"connectStart":262,"domainLookupEnd":262,"domainLookupStart":262,"fetchStart":262,"redirectEnd":0,"redirectStart":0,"requestStart":262,"responseEnd":718,"responseStart":718,"secureConnectionStart":262},{"duration":793.1999998092651,"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":262,"connectEnd":262,"connectStart":262,"domainLookupEnd":262,"domainLookupStart":262,"fetchStart":262,"redirectEnd":0,"redirectStart":0,"requestStart":262,"responseEnd":1055.1999998092651,"responseStart":1055.1999998092651,"secureConnectionStart":262},{"duration":141.20000076293945,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":577.1999998092651,"connectEnd":577.1999998092651,"connectStart":577.1999998092651,"domainLookupEnd":577.1999998092651,"domainLookupStart":577.1999998092651,"fetchStart":577.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":577.1999998092651,"responseEnd":718.4000005722046,"responseStart":718.4000005722046,"secureConnectionStart":577.1999998092651},{"duration":206.39999961853027,"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","startTime":858.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":858.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1065.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":257.6000003814697,"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","startTime":859.6999998092651,"connectEnd":859.6999998092651,"connectStart":859.6999998092651,"domainLookupEnd":859.6999998092651,"domainLookupStart":859.6999998092651,"fetchStart":859.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":859.6999998092651,"responseEnd":1117.3000001907349,"responseStart":1117.3000001907349,"secureConnectionStart":859.6999998092651},{"duration":265.5999994277954,"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","startTime":860.1000003814697,"connectEnd":860.1000003814697,"connectStart":860.1000003814697,"domainLookupEnd":860.1000003814697,"domainLookupStart":860.1000003814697,"fetchStart":860.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":860.1000003814697,"responseEnd":1125.6999998092651,"responseStart":1125.6999998092651,"secureConnectionStart":860.1000003814697}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":82,"responseStart":252,"responseEnd":256,"domLoading":256,"domInteractive":1108,"domContentLoadedEventStart":1108,"domContentLoadedEventEnd":1162,"domComplete":1478,"loadEventStart":1478,"loadEventEnd":1479,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1076.9000005722046},{"name":"bigPipe.sidebar-id.end","time":1077.9000005722046},{"name":"bigPipe.activity-panel-pipe-id.start","time":1078.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1081.9000005722046},{"name":"activityTabFullyLoaded","time":1182}],"measures":[],"correlationId":"e3fd25f4afcd5e","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":116,"dbReadsTimeInMs":18,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I have fixed this by adding a new handler error message when the .frm and storage engine definition differs:
Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this
In addition I fixed that REPAIR TABLE .. USE_FRM will fix old tables with same storage format between versions (no VARCHAR fields).