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?

feita há um ano4878 visualizações
5 Respostas
1
Resposta aceita

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.

respondido há um ano
profile picture
ESPECIALISTA
avaliado há 2 meses
  • 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
respondido há 12 dias
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
respondido há 4 meses
0

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

respondido há 21 dias
0

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

respondido há 10 dias

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas