The MySQL 8.0 Shell came with an "Upgrade Checker".
Useful to run before upgrading, as you may detect incompatible issues with your table structure / etc.
Running its python version from the shell be like:
util.check_for_server_upgrade()
Unfortunately, when using AWS's RDS, we get the following error:
SystemError: LogicError: Util.check_for_server_upgrade: The upgrade
check needs to be performed by user with ALL privileges.
What can be done?
Best Answer
You can run
util.check_for_server_upgrade()
with a Mysql user who has theALL PRIVILEGES
. As you are using AWS RDS your master MySQL user don't haveSUPER user
permission, that's why your are getting this error, you can check your user permission withSHOW GRANTS FOR 'user'@'host'
. Onlyrdsadmin
user have theALL PRIVILEGES
in AWS RDSMySQL
instance.rdsadmin
is amazon's own user that is used by Amazon to perform release or version update, taking backups and other maintenance tasks. Amazon's support should be able to advise you better in this topics.