Error Upgrading MySQL 5.7 to 8.0

1

I am upgrading from AWS 2.11.2 to 3.03.1 in order to upgrade our database from MySQL 5.7 to 8.0.26.

On running the upgrade, I am getting the error below: { "id": "routinesSyntaxCheck", "title": "MySQL 8.0 syntax check for routine-like objects", "status": "OK", "description": "The following objects did not pass a syntax check with the latest MySQL 8.0 grammar. A common reason is that they reference names that conflict with new reserved keywords. You must update these routine definitions andquote any such references before upgrading.", "documentationLink": "https://dev.mysql.com/doc/refman/en/keywords.html", "detectedProblems": [ { "level": "Error", "dbObject": "mysql.flush_rewrite_rules", "description": "at line 5,8: unexpected token 'QUERY'" } ] }

The mysql database cannot be modified. How can I get around this issue to upgrade the database from 5.7 to 8.0.26?

질문됨 일 년 전4895회 조회
5개 답변
1
수락된 답변

Update: I reached out to AWS Support and they mentioned that the mysql.flush_rewrite_rules procedure had to be dropped by the internal AWS RDS development team. I had them drop the procedure and was able to upgrade the database successfully after that.

답변함 일 년 전
profile picture
전문가
검토됨 2달 전
  • This was our experience as well. Our upgrade was successful after the RDS internal team dropped the procedure from our cluster.

  • I have the same problem, but I don't know how to reach RDS internal team. I'm on Basic support plan, do I need to be on another support plan?

1

I'm facing the same issue. Do I really have to purchase a support plan to continue?

Arthur
답변함 15일 전
0

Hi RDS internal team, I am also facing with this issue. Can you help to drop the procedure for us as well? Thanks!

Bennet
답변함 4달 전
0

what is the impact of dropping the "mysql.flush_rewrite_rules" stored procedure

답변함 24일 전
0

We're having the same issue, but unsure how to do this without having to purchase the support plan?

답변함 14일 전

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

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

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