Unable to upgrade MySQL from 5.7.44 to 8.x

0

While trying to upgrade my MySQL from 5.7.44 to 8.x, I am getting the following error:

  1. Schema inconsistencies resulting from file removal or corruption: Following tables show signs that either table datadir directory or frm file was removed/corrupted. Please check server logs, examine datadir to detect the issue and fix it before upgrade mytable - present in INFORMATION_SCHEMA's INNODB_SYS_TABLES table but missing from TABLES table

I tried to use some solutions mentioned on repost and stackoverflow like: https://repost.aws/questions/QUPC7D-_ZuTgCZSLALluxW9g/need-help-in-upgrading-the-aurora-mysql-5-7-to-mysql-8-urgent https://repost.aws/questions/QUNKcZd0MBSPmyPcCJanyKSQ/aurora-upgrade-2-to-3-mysql-5-7-to-8-0-schemainconsistencycheck

However, when I run the suggested query to find corrupted tables, I cannot find any table with the pattern '%#sql%' or '%#%'

select * from information_schema.innodb_sys_tables where name like '%#%';

Does anyone have any other possible solution?

1개 답변
0

Hi,

You may want to read and follow the guidance of https://planetscale.com/blog/upgrading-to-mysql-8

Best,

Didier

profile pictureAWS
전문가
답변함 한 달 전
  • Hi, I read the recommendations, however I did not find info related to schema inconsistencies from file removal or corruption in your text. Thanks anyway

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠