I am experiencing an exception when migrating from the default H2 data source to a specified MYSQL data source

I am experiencing an exception when migrating from the default H2 data source to a specified MYSQL data source.

for example, that's the error,

Caused by: org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException: Duplicate entry '2-public-singlealipay' for key 'metabase_table.idx_uniq_table_db_id_schema_name'

What version of MySQL?

8.027

The docker image MySQL8.027

Is this the latest release of Metabase?

maybe, I got it from the website

  1. Update field-id Number
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,494]','[field-id,1888]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,492]','[field-id,1886]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,491]','[field-id,1885]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,495]','[field-id,1889]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,485]','[field-id,1879]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,515]','[field-id,1909]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,519]','[field-id,1914]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,482]','[field-id,1876]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,496]','[field-id,1890]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,499]','[field-id,1893]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,518]','[field-id,1913]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,507]','[field-id,1901]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,511]','[field-id,1905]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,522]','[field-id,1916]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;
    UPDATE report_card SET dataset_query = Replace(dataset_query,'[field-id,526]','[field-id,1920]') Where ID >= 434 and Collection_id = 27 and table_id = 16 and database_id = 9;