Can't ALTER sys.sys_config with master user for MySQL v5.7.44 to v8

1

Current MySQL Engine: 5.7.44

Using the master user with the following query "ALTER TABLE sys_config ROW_FORMAT=DYNAMIC;" we're getting the following error: Access denied for user 'master'@'%' to database 'sys'.

This is blocking our ability to upgrade. Is there any possible way to do this ourselves or do we need assistance from AWS on this?

Dragola
질문됨 2달 전112회 조회
1개 답변
0
수락된 답변

Hi,

I would like to mention that the row format associated with the sys_config table should not effect the upgrade and should come as a warning. Also, as "sys" is a system managed database, the alter command is failing with the error of access denied to admin user as well.

when you start the upgrade please check "PrePatchCompatibility.log" I would like to mention that there are three types of issues you would notice in this log

  • ERROR : Correct these issues before upgrading to avoid compatibility issues.
  • WARNING : No fatal errors were found that would prevent an upgrade, but some potential issues were detected.
  • NOTICE : No known compatibility errors or issues were found. But you can check the NOTICE Level error logs.
  1. You can check the row format of sys.sys_config table using below query:

select TABLE_SCHEMA,TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS from information_schema.tables where table_schema = 'sys';

  1. Please be noted that the user will not have access to sys.sys_config system table. If you try to update you will receive the following error:

ALTER TABLE sys_config ROW_FORMAT=DYNAMIC; ERROR 1044 (42000): Access denied for user 'testuser'@'%' to database 'sys'

RDS being a managed service certain actions are restricted. Users will have only the following permissions: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.MasterAccounts.html

sys.config is system table and it is managed by AWS. And users will not have access to it.

  1. Also this message is warning and this shouldn’t block your upgrade.
AWS
답변함 19일 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인