# `TiDB Data Migration` Usage Restrictions 

+ Source database versions
  + `MySQL 5.5 ~ 5.7`
+ `DDL` syntax compatibility
  + Only supports the `DDL` syntax supported by the `TiDB` parser
[https://docs.pingcap.com/tidb/stable/mysql-compatibility#ddl](https://docs.pingcap.com/tidb/stable/mysql-compatibility#ddl)

-------------------------------------------------------------
Database version requirements
- `MySQL` version `5.5 ~ 5.7`
- `MySQL` version `8.0` (experimental features)
- `MariaDB` version >= `10.1.2` (experimental features)

`DDL` syntax compatibility
- Currently, `TiDB` is not compatible with all the `DDL` statements that `MySQL` supports. Because `DM` uses the `TiDB` parser to process `DDL` statements, it only supports the `DDL` syntax supported by the `TiDB` parser. For details, see `MySQL Compatibility`.
- `DM` reports an error when it encounters an incompatible `DDL` statement. To solve this error, you need to manually handle it using `dmctl`, either skipping this `DDL` statement or replacing it with specified `DDL` statements. For details, see `Skip or replace abnormal SQL statements`.