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?

已提問 1 年前檢視次數 4878 次
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.

已回答 1 年前
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
已回答 12 天前
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

已回答 21 天前
0

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

已回答 10 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南