안녕하세요. rds for mysql5.7 사용중인데요,
mysql8버전으로 업그레이드를 진행하려고 하는데, checker 에서 아래와 같은 에러가 발생합니다.
2) MySQL 8.0 syntax check for routine-like objects
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 and `quote` any
such references before upgrading.
More information:
https://dev.mysql.com/doc/refman/en/keywords.html
mysql.flush_rewrite_rules - at line 5,8: unexpected token 'QUERY'
프로시저 내 사용할 수 없는 키워드가 존재하는 에러로 보이는데요,
해당 프로시저가 rdsadmin 계정으로 생성되어 있어 삭제가 불가능합니다.
해결 방법을 제안해주세요!!
아래 포스팅과 같은 이슈로 참고를 위해 첨부합니다.
https://repost.aws/questions/QU_jfgd2gURk6TzL8JcQCO9Q/error-upgrading-mysql-5-7-to-8-0