

# Aurora MySQL 버전 3을 버전 8.4로 업그레이드하기 위한 사전 확인 설명
<a name="AuroraMySQL.upgrade-prechecks-v3-to-v84.descriptions"></a>

다음 사전 확인은 Aurora MySQL 버전 3(MySQL 8.0과 호환)에서 Aurora MySQL 버전 8.4(MySQL 8.4와 호환)로 업그레이드할 때 실행됩니다. 이러한 사전 확인은 업그레이드가 시작되기 전에 잠재적 호환성 문제를 식별합니다.

**Contents**
+ [오류](#precheck-v84-errors)
  + [오류를 보고하는 MySQL 사전 확인](#precheck-v84-errors.mysql)
  + [오류를 보고하는 Aurora MySQL 사전 확인](#precheck-v84-errors.aurora)
+ [경고](#precheck-v84-warnings)
  + [경고를 보고하는 MySQL 사전 확인](#precheck-v84-warnings.mysql)
  + [경고를 보고하는 Aurora MySQL 사전 확인](#precheck-v84-warnings.aurora)
+ [고지 사항](#precheck-v84-notices)
+ [오류, 경고 또는 알림](#precheck-v84-all)

## 오류
<a name="precheck-v84-errors"></a>

다음 사전 확인은 사전 확인이 실패하고 업그레이드를 진행할 수 없을 때 오류를 생성합니다.

**Topics**
+ [오류를 보고하는 MySQL 사전 확인](#precheck-v84-errors.mysql)
+ [오류를 보고하는 Aurora MySQL 사전 확인](#precheck-v84-errors.aurora)

### 오류를 보고하는 MySQL 사전 확인
<a name="precheck-v84-errors.mysql"></a>

다음 사전 확인은 Community MySQL에서 가져온 것입니다.
+ [deprecatedRouterAuthMethod](#v84-deprecatedRouterAuthMethod)
+ [partitionsWithPrefixKeys](#v84-partitionsWithPrefixKeys)
+ [columnDefinition](#v84-columnDefinition)

**deprecatedRouterAuthMethod**  
**사전 확인 수준: 오류**  
**MySQL Router 내부 계정에서 사용 중단되거나 잘못된 인증 방법을 확인합니다.**  
이 사전 확인은 MySQL Router 내부 계정이 MySQL 8.4에서 제거하거나 변경할 수 있는 더 이상 사용되지 않거나 잘못된 인증 방법을 사용하지 않는지 확인합니다. MySQL Router 계정은 Router에 기존 계정을 사용하도록 지시하지 않을 때 부트스트랩 시 자동으로 생성됩니다.  
**출력 예시:**  

```
{
  "id": "deprecatedRouterAuthMethod",
  "title": "Check for deprecated or invalid authentication methods in use by MySQL Router internal accounts.",
  "status": "OK",
  "description": "Warning: The following accounts are MySQL Router accounts that use a deprecated authentication method.\nThose accounts are automatically created at bootstrap time when the Router is not instructed to use an existing account. Please upgrade MySQL Router to the latest version to ensure deprecated authentication methods are no longer used.\nSince version 8.0.19 it's also possible to instruct MySQL Router to use a dedicated account. That account can be created using the AdminAPI.",
  "documentationLink": "https://dev.mysql.com/doc/mysql-shell/en/configuring-router-user.html https://dev.mysql.com/doc/mysql-router/en/mysqlrouter.html#option_mysqlrouter_account",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "mysql_router_test@%",
        "description": " - router user with deprecated authentication method."
      }
  ]
}
```
사전 확인은 `mysql_router_test` 계정이 `mysql_native_password` 또는 `sha256_password`와 같은 더 이상 사용되지 않는 인증 방법을 사용하고 있기 때문에 오류를 반환합니다.  
사용 중인 인증 방법을 확인하려면:  

```
SELECT user, host, plugin FROM mysql.user WHERE user = 'mysql_router_test';
```
**​해결 방법:**  
`caching_sha2_password` 인증을 사용하도록 MySQL Router 계정을 업데이트합니다.  

```
ALTER USER 'mysql_router_test'@'%' IDENTIFIED WITH caching_sha2_password BY '{{new_password}}';
```
또는 MySQL Router를 최신 버전으로 업그레이드하여 더 이상 사용되지 않는 인증 방법을 사용하지 않도록 합니다. 버전 8.0.19부터 AdminAPI를 사용하여 생성된 전용 계정을 사용하도록 MySQL Router에 지시할 수도 있습니다.

**partitionsWithPrefixKeys**  
**사전 확인 수준: 오류**  
**접두사 키 인덱스가 있는 열을 사용하여 키별 파티션 확인**  
이 사전 확인은 파티셔닝 키에 접두사 키 인덱스가 있는 열을 사용하는 파티셔닝된 테이블을 식별합니다. 열 접두사의 인덱스는 키 파티셔닝에 지원되지 않으며, 파티션 함수에서 무시되고 MySQL 8.4.0부터 허용되지 않습니다.  
자세한 내용은 MySQL 설명서의 [파티셔닝 제한 및 제한](https://dev.mysql.com/doc/refman/en/partitioning-limitations.html)을 참조하세요.  
**출력 예시:**  

```
{
  "id": "partitionsWithPrefixKeys",
  "title": "Checks for partitions by key using columns with prefix key indexes",
  "status": "OK",
  "description": "Indexes on column prefixes are not supported for key partitioning, they are ignored by the partition function and so they are not allowed as of 8.4.0. This check identifies tables with partitions defined this way, they should be fixed before upgrading to 8.4.0.",
  "documentationLink": "https://dev.mysql.com/doc/refman/en/partitioning-limitations.html",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "test.test_partition_prefix",
        "description": "Error: the `test`.`test_partition_prefix` table uses partition by KEY using the following columns with prefix index: name."
      }
  ]
}
```
**​해결 방법:**  

```
-- Check for prefix indexes (Sub_part column shows prefix length)
SHOW INDEX FROM test.test_partition_prefix;

-- Option 1: Change partition to use non-prefix columns only
ALTER TABLE test.test_partition_prefix PARTITION BY KEY (id) PARTITIONS 4;

-- Option 2: Remove prefix from index
ALTER TABLE test.test_partition_prefix
  DROP PRIMARY KEY,
  ADD PRIMARY KEY (id, name);  -- Full column, no prefix

-- Option 3: Remove partitioning
ALTER TABLE test.test_partition_prefix REMOVE PARTITIONING;
```

**columnDefinition**  
**사전 확인 수준: 오류**  
**열 정의의 오류를 확인합니다.**  
이 사전 확인은 모든 열 정의가 MySQL 8.4 요구 사항과 호환되는지 확인합니다. MySQL 8.4에서 더 이상 지원되지 않는 `AUTO_INCREMENT` 플래그 세트를 사용하여 `FLOAT` 또는 `DOUBLE` 유형의 열을 구체적으로 식별합니다.  
**출력 예시:**  

```
{
  "id": "columnDefinition",
  "title": "Checks for errors in column definitions",
  "status": "OK",
  "description": "Identifies column definitions that may not be supported in future versions of MySQL",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "test.test_column_def.id",
        "description": "The column is of type FLOAT and has the AUTO_INCREMENT flag set, this is no longer supported."
      }
  ]
}
```
**​해결 방법:**  
열 유형을 `FLOAT` 또는 `DOUBLE`에서 정수 유형으로 변경합니다.  

```
-- Check current definition
SHOW CREATE TABLE test.test_column_def\G

-- Change FLOAT AUTO_INCREMENT to BIGINT AUTO_INCREMENT
ALTER TABLE test.test_column_def MODIFY COLUMN id BIGINT NOT NULL AUTO_INCREMENT;

-- Verify
SHOW CREATE TABLE test.test_column_def\G
```

### 오류를 보고하는 Aurora MySQL 사전 확인
<a name="precheck-v84-errors.aurora"></a>

다음 사전 확인은 Aurora MySQL에만 적용됩니다.
+ [auroraUnsupportedPluginsCheck](#v84-auroraUnsupportedPluginsCheck)
+ [auroraUnsupportedComponentsCheck](#v84-auroraUnsupportedComponentsCheck)
+ [auroraUpgradeCheckForSysSchemaObjectTypeMismatch](#v84-auroraUpgradeCheckForSysSchemaObjectTypeMismatch)

**auroraUnsupportedPluginsCheck**  
**사전 확인 수준: 오류**  
**지원되지 않는 플러그인 확인**  
이 Aurora별 사전 확인은 Aurora MySQL 버전 8.4에서 지원되지 않는 플러그인을 식별합니다. Aurora에는 커뮤니티 MySQL과 다른 특정 플러그인 호환성 요구 사항이 있습니다.  
**출력 예시:**  

```
{
  "id": "auroraUnsupportedPluginsCheck",
  "title": "Check for unsupported plugins",
  "status": "OK",
  "description": "Checks for unsupported plugins installed in the database",
  "documentationLink": "https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "all",
        "description": "Plugin simple_parser loaded in the engine. To proceed with the upgrade, remove this plugin."
      }
  ]
}
```
**​해결 방법:**  
지원되지 않는 플러그인을 제거합니다.  

```
UNINSTALL PLUGIN {{plugin_name}};
```

**auroraUnsupportedComponentsCheck**  
**사전 확인 수준: 오류**  
**지원되지 않는 구성 요소 확인**  
이 사전 확인은 Aurora MySQL 버전 8.4에서 지원되지 않는 MySQL 구성 요소가 현재 설치되거나 활성 상태인지 확인합니다. 구성 요소는 플러그인과 다르며 구성 요소 인프라를 통해 확장된 기능을 제공합니다.  
**출력 예시:**  

```
{
  "id": "auroraUnsupportedComponentsCheck",
  "title": "Check for unsupported components",
  "status": "OK",
  "description": "Checks for unsupported components installed in the database",
  "documentationLink": "https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "all",
        "description": "Component file://component_log_sink_json loaded in the engine. To proceed with the upgrade, uninstall this component."
      }
  ]
}
```
**​해결 방법:**  
지원되지 않는 구성 요소를 제거합니다.  

```
UNINSTALL COMPONENT '{{component_name}}';
```

**auroraUpgradeCheckForSysSchemaObjectTypeMismatch**  
**사전 확인 수준: 오류**  
**sys 스키마에 대한 객체 유형 불일치 확인**  
이 사전 확인은 `sys` 스키마의 모든 객체에 올바른 객체 유형과 정의가 있는지 확인합니다. 시스템 스키마는 데이터베이스 모니터링 및 진단을 위한 보기와 절차를 제공하는 시스템 스키마입니다. 스키마가 수동으로 수정되거나 손상된 경우 불일치가 발생할 수 있습니다.  
**출력 예시:**  

```
{
  "id": "auroraUpgradeCheckForSysSchemaObjectTypeMismatch",
  "title": "Check object type mismatch for sys schema.",
  "status": "OK",
  "description": "Database contains objects with type mismatch for sys schema.",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "sys.host_summary",
        "description": "Your object sys.host_summary has a type mismatch. To fix the inconsistency we recommend to rename or remove the object before upgrading (use RENAME TABLE command)."
      }
  ]
}
```
**​해결 방법:**  

```
-- Check the object type
SELECT TABLE_NAME, TABLE_TYPE FROM information_schema.tables
WHERE TABLE_SCHEMA = 'sys' AND TABLE_NAME = 'host_summary';

-- Option 1: Rename the mismatched object
RENAME TABLE sys.host_summary TO sys.host_summary_backup;

-- Option 2: Drop the mismatched object
DROP TABLE sys.host_summary;
```

## 경고
<a name="precheck-v84-warnings"></a>

다음 사전 확인은 사전 확인이 실패할 때 경고를 생성하지만 업그레이드를 진행할 수 있습니다.

**Topics**
+ [경고를 보고하는 MySQL 사전 확인](#precheck-v84-warnings.mysql)
+ [경고를 보고하는 Aurora MySQL 사전 확인](#precheck-v84-warnings.aurora)

### 경고를 보고하는 MySQL 사전 확인
<a name="precheck-v84-warnings.mysql"></a>

다음 사전 확인은 Community MySQL에서 가져온 것입니다.
+ [deprecatedDefaultAuth](#v84-deprecatedDefaultAuth)
+ [foreignKeyReferences](#v84-foreignKeyReferences)

**deprecatedDefaultAuth**  
**사전 확인 수준: 경고**  
**시스템 변수에서 더 이상 사용되지 않거나 잘못된 기본 인증 방법 확인**  
이 사전 확인은 `default_authentication_plugin` 시스템 변수가 더 이상 사용되지 않는 인증 방법으로 설정되지 않았는지 확인합니다.  
MySQL 8.4.0은 더 이상 사용되지 않는 `default_authentication_plugin` 옵션을 완전히 제거합니다. `mysql_native_password` 플러그인은 MySQL 8.4.0부터 기본적으로 비활성화되며 향후 버전에서 제거될 수 있습니다.
버전 8.4의 인증 변경 사항에 대한 자세한 내용은 [Aurora MySQL 버전 3에서 버전 8.4로 업그레이드하기 위한 보안 고려 사항](AuroraMySQL.Upgrade-v3-v84-security.md) 섹션을 참조하세요.  
**출력 예시:**  

```
{
  "id": "deprecatedDefaultAuth",
  "title": "Check for deprecated or invalid default authentication methods in system variables.",
  "status": "OK",
  "description": "The following variables have problems with their set authentication method:",
  "detectedProblems": [
      {
        "level": "Warning",
        "dbObject": "default_authentication_plugin",
        "description": "mysql_native_password authentication method is deprecated and it should be considered to correct this before upgrading to 8.4.0 release."
      },
      {
        "level": "Warning",
        "dbObject": "authentication_policy",
        "description": "mysql_native_password authentication method is deprecated and it should be considered to correct this before upgrading to 8.4.0 release."
      }
  ]
}
```
**​해결 방법:**  
`caching_sha2_password`를 사용하도록 인증 시스템 변수를 업데이트합니다.  

1. Amazon RDS 콘솔로 이동하여 **파라미터 그룹**으로 이동합니다.

1. 데이터베이스 클러스터 파라미터 그룹을 선택하세요.

1. 다음 파라미터를 수정합니다.
   + `default_authentication_plugin` = `caching_sha2_password`
   + `authentication_policy` = `caching_sha2_password,*,`

1. 변경 사항을 적용합니다. 재부팅이 필요할 수 있습니다.
이 변경을 수행하기 전에 애플리케이션 클라이언트가 `caching_sha2_password` 인증을 지원하는지 확인합니다. 일부 이전 MySQL 클라이언트 라이브러리는 이 인증 방법을 지원하지 않을 수 있습니다.

**foreignKeyReferences**  
**사전 확인 수준: 경고**  
**전체 고유 인덱스를 참조하지 않는 외래 키 확인**  
이 사전 확인은 모든 외래 키 제약 조건이 전체 고유 또는 프라이머리 키 인덱스를 참조하는지 확인합니다. MySQL 8.4.0부터 부분 인덱스에 대한 외래 키는 금지될 수 있습니다.  
**출력 예시:**  

```
{
  "id": "foreignKeyReferences",
  "title": "Checks for foreign keys not referencing a full unique index",
  "status": "OK",
  "description": "Foreign keys to partial indexes may be forbidden as of 8.4.0, this check identifies such cases to warn the user.",
  "detectedProblems": [
      {
        "level": "Warning",
        "dbObject": "sample.child_table_ibfk_1",
        "description": "invalid foreign key defined as 'child_table(parent_name)' references a non unique key at table 'parent_table'."
      }
  ]
}
```
**​해결 방법:**  
사용 중인 애플리케이션에 가장 적합한 옵션을 선택하세요.  

```
-- Option 1: Add unique index on parent table (if values are unique)
ALTER TABLE test.parent_table ADD UNIQUE INDEX idx_parent_name_unique (parent_name);

-- Option 2: Drop the foreign key if not needed
ALTER TABLE test.child_table DROP FOREIGN KEY child_table_ibfk_1;
```

### 경고를 보고하는 Aurora MySQL 사전 확인
<a name="precheck-v84-warnings.aurora"></a>

다음 사전 확인은 Aurora MySQL에만 적용됩니다.
+ [auroraValidatePasswordPluginCheck](#v84-auroraValidatePasswordPluginCheck)

**auroraValidatePasswordPluginCheck**  
**사전 확인 수준: 경고**  
**더 이상 사용되지 않는 validate\_password 플러그인 확인**  
이 사전 확인은 더 이상 사용되지 않는 `validate_password` 플러그인의 사용을 식별합니다. MySQL 8.0 이상에서는 validate\_password 기능이 구성 요소(`component_validate_password`)로 다시 구현되었습니다. Aurora MySQL 버전 8.4에서는 구성 요소 기반 구현으로 마이그레이션해야 합니다.  
자세한 내용은 [암호 검증 구성 요소 마이그레이션](AuroraMySQL.Upgrade-v3-v84-security.md#AuroraMySQL.Upgrade-v3-v84-security.validate-password) 섹션을 참조하세요.  
**출력 예시:**  

```
{
  "id": "auroraValidatePasswordPluginCheck",
  "title": "Check for deprecated validate_password plugin",
  "status": "OK",
  "description": "The validate_password plugin is deprecated in Aurora MySQL 8.4",
  "detectedProblems": [
      {
        "level": "Warning",
        "dbObject": "validate_password",
        "description": "The validate_password plugin is deprecated and will be removed in a future release. It is recommended to transition to the validate_password component."
      }
  ]
}
```
**​해결 방법:**  

```
-- Check current plugin status
SELECT plugin_name, plugin_status FROM information_schema.plugins
WHERE plugin_name = 'validate_password';

-- Uninstall the plugin
UNINSTALL PLUGIN validate_password;

-- Install the component replacement
INSTALL COMPONENT 'file://component_validate_password';

-- Verify
SELECT * FROM mysql.component WHERE component_urn LIKE '%validate_password%';
```

## 고지 사항
<a name="precheck-v84-notices"></a>

다음 사전 확인은 사전 확인이 실패하면 알림을 생성하지만 업그레이드를 진행할 수 있습니다.
+ [invalidPrivileges](#v84-invalidPrivileges)

**invalidPrivileges**  
**사전 확인 수준: 알림**  
**제거할 사용자 권한을 확인합니다.**  
이 사전 확인은 MySQL 8.4에서 제거 또는 수정되는 권한이 있는 사용자 계정을 식별합니다. `SET_USER_ID` 권한은 업그레이드 프로세스의 일부로 제거되고 있습니다. 권한을 사용하지 않는 경우 아무 작업도 필요하지 않습니다. 그렇지 않으면 업그레이드 전에 사용 중지해야 합니다. 연결이 끊어지기 때문입니다.  
**출력 예시:**  

```
{
  "id": "invalidPrivileges",
  "title": "Checks for user privileges that will be removed",
  "status": "OK",
  "description": "Verifies for users containing grants to be removed as part of the upgrade process.",
  "detectedProblems": [
      {
        "level": "Notice",
        "dbObject": "'test_user'@'localhost'",
        "description": "The user 'test_user'@'localhost' has the following privileges that will be removed as part of the upgrade process: SET_USER_ID"
      }
  ]
}
```
**​해결 방법:**  
이는 정보 제공을 위한 공지이며, 별도의 조치는 필요하지 않습니다. `SET_USER_ID` 권한은 업그레이드 프로세스 중에 자동으로 제거됩니다.  
그러나 애플리케이션이 `SET_USER_ID` 권한을 사용하는 경우 업그레이드하기 전에 애플리케이션을 검토하고 업데이트합니다.

## 오류, 경고 또는 알림
<a name="precheck-v84-all"></a>

다음 사전 확인은 사전 확인 출력에 따라 오류, 경고 또는 알림을 반환할 수 있습니다.
+ [authMethodUsage](#v84-authMethodUsage)
+ [pluginUsage](#v84-pluginUsage)
+ [checkTableCommand](#v84-checkTableCommand)

**authMethodUsage**  
**사전 확인 수준: 오류, 경고 또는 알림**  
**더 이상 사용되지 않거나 잘못된 사용자 인증 방법 확인**  
이 사전 확인은 더 이상 사용되지 않거나 MySQL 8.4에서 제거될 인증 방법을 사용하여 사용자 계정을 식별합니다. `mysql_native_password` 인증 플러그인은 MySQL 8.4.0부터 기본적으로 더 이상 사용되지 않고 비활성화됩니다. 플러그인은 향후 버전에서 제거될 수 있습니다.  
심각도 수준은 기능 수명 주기, 즉 사용 중단 전 알림, 사용 중단 후 경고, 제거 후 오류에 따라 동적입니다.  
**출력 예시:**  

```
{
  "id": "authMethodUsage",
  "title": "Check for deprecated or invalid user authentication methods.",
  "status": "OK",
  "description": "Some users are using authentication methods that may be deprecated or removed, please review the details below.",
  "detectedProblems": [
      {
        "level": "Warning",
        "dbObject": "testuser@localhost",
        "description": ""
      }
  ]
}
```
**​해결 방법:**  
`caching_sha2_password` 인증을 사용하도록 사용자 계정을 업데이트합니다.  

```
ALTER USER '{{username}}'@'{{host}}' IDENTIFIED WITH caching_sha2_password BY '{{new_password}}';
```
Aurora 내부 시스템 계정에는 조치가 필요하지 않습니다. 업그레이드 프로세스 중에 자동으로 업데이트됩니다. 이러한 계정을 수동으로 수정하려고 하면 Aurora 기능에 문제가 발생할 수 있습니다.

**pluginUsage**  
**사전 확인 수준: 오류, 경고 또는 알림**  
**더 이상 사용되지 않거나 제거된 플러그인 사용량 확인**  
이 사전 확인은 MySQL 8.4에서 더 이상 사용되지 않거나 제거된 플러그인을 식별합니다. 모든 활성 플러그인을 검사하고 사용 중단 상태를 보고합니다. 심각도 수준은 기능 수명 주기에 따라 동적입니다.  
**출력 예시:**  

```
{
  "id": "pluginUsage",
  "title": "Check for deprecated or removed plugin usage.",
  "status": "OK",
  "description": "The following plugins are ACTIVE and they have been deprecated or removed.",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "keyring_file",
        "description": "The 'keyring_file' plugin is removed as of MySQL 8.4.0. It must not be used anymore, please use the 'component_keyring_file' component instead."
      }
  ]
}
```
**​해결 방법:**  
더 이상 사용되지 않는 플러그인을 제거하고 구성 요소 교체를 설치합니다.  

```
-- Check installed plugins
SELECT plugin_name, plugin_status FROM information_schema.plugins
WHERE plugin_name IN ('keyring_file', 'keyring_encrypted_file', 'keyring_oci', 'authentication_fido');

-- Uninstall and replace (example for keyring_file)
UNINSTALL PLUGIN keyring_file;
INSTALL COMPONENT 'file://component_keyring_file';

-- Verify
SELECT * FROM mysql.component WHERE component_urn LIKE '%keyring%';
```
다음 표에는 더 이상 사용되지 않는 플러그인과 대체 플러그인이 나열되어 있습니다.      
[See the AWS documentation website for more details](http://docs.aws.amazon.com/ko_kr/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.upgrade-prechecks-v3-to-v84.descriptions.html)

**checkTableCommand**  
**사전 확인 수준: 오류, 경고 또는 알림**  
**`check table x for upgrade` 명령에서 보고되는 문제**  
이 사전 확인은 모든 사용자 테이블에서 `CHECK TABLE ... FOR UPGRADE` 명령을 실행하여 구조적 문제, 더 이상 사용되지 않는 기능 또는 MySQL 8.4와의 비호환성을 식별합니다. 명령은 테이블 구조 및 메타데이터에 대한 포괄적인 검증을 수행합니다.  
다른 사전 확인과 달리 `CHECK TABLE` 출력에 따라 오류, 경고 또는 알림을 반환할 수 있습니다. 이 사전 확인에서 테이블을 반환하는 경우 업그레이드를 시작하기 전에 반환 코드 및 메시지와 함께 테이블을 주의 깊게 검토합니다.  
**출력 예시:**  

```
{
  "id": "checkTableCommand",
  "title": "Issues reported by 'check table x for upgrade' command",
  "status": "OK",
  "description": "Issues reported by 'check table x for upgrade' command",
  "detectedProblems": [
      {
        "level": "Error",
        "dbObject": "test.orphaned_view",
        "description": "View 'test.orphaned_view' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them"
      },
      {
        "level": "Error",
        "dbObject": "test.orphaned_view",
        "description": "Corrupt"
      }
  ]
}
```
**​해결 방법:**  
업그레이드하기 전에 보고된 객체를 검토하고 수정하거나 제거합니다. 일반적인 문제:  
+ 잘못된 테이블 또는 열을 참조하는 보기 - 보기를 삭제하거나 다시 생성합니다.
+ 손상된 테이블 - `REPAIR TABLE`을 실행하거나 테이블을 다시 생성합니다.
+ `CREATED` 속성이 누락된 트리거 - 트리거를 다시 생성합니다.
자세한 내용은 MySQL 설명서의 [CHECK TABLE 문](https://dev.mysql.com/doc/refman/8.4/en/check-table.html)을 참조하세요.