Skip to content

Commit 346529e

Browse files
Merge pull request #250041 from aditivgupta/dmstopissue
schema
2 parents 15d2294 + f0e1182 commit 346529e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

articles/dms/known-issues-azure-mysql-fs-online.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ ms.custom: mvc
1414

1515
Known issues associated with migrations to Azure Database for MySQL are described in the following sections.
1616

17+
## Schema Migration Issue for v8.0 MySQL Flexible Server target
18+
19+
- **Error**: Fatal error migrating the source's schema to target MySQL Flexible Server with engine version 8.0. This error indicates that the server parameter sql_generate_invisible_primary_key for target MySQL Flexible Server has been set to ON.
20+
21+
**Potential error message**:
22+
- "Unknown error."
23+
- "Failed to generate invisible primary key. Auto-increment column already exists."
24+
- "The column 'my_row_id' in the target table 'table name' in database 'database' does not exist on the source table."
25+
26+
**Limitation**: This error occurs during the schema migration phase or change data capture phase, if the schema migration option has been selected for the DMS migration project and the server parameter sql_generate_invisible_primary_key for target MySQL Flexible Server has been set to ON.
27+
28+
**Workaround**: Set the server parameter sql_generate_invisible_primary_key for target MySQL Flexible Server to OFF. The server parameter can be found in the Server parameters Blade under the All tab for the target MySQL Flexible Server. Additionally, drop the target database and start over the DMS migration to not have any mismatched schemas.
29+
1730
## Incompatible SQL Mode
1831

1932
One or more incompatible SQL modes can cause many different errors. Below is an example error along with server modes that should be looked at if this error occurs.

articles/mysql/migrate/migrate-single-flexible-mysql-import-cli.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ Below is the benchmarked performance based on varying number of tables for 10 Gi
186186
## Post-import steps
187187

188188
- Copy the following properties from the source Single Server to target Flexible Server post MySQL Import operation is completed successfully:
189-
- Server parameters
190189
- Firewall rules
191190
- Read-Replicas
192191
- Monitoring page settings (Alerts, Metrics, and Diagnostic settings)

0 commit comments

Comments
 (0)