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?

posta un anno fa4895 visualizzazioni
5 Risposte
1
Risposta accettata

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.

con risposta un anno fa
profile picture
ESPERTO
verificato 2 mesi fa
  • 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
con risposta 15 giorni fa
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
con risposta 4 mesi fa
0

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

con risposta 24 giorni fa
0

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

con risposta 13 giorni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande