How to fix Error Code: 1478. InnoDB : A partitioned table is not allowed in a shared tablespace while migrating to MySQL Flexible Server from MySQL Single Server

Sachin Vettiyattil-FT 41 Reputation points
2023-10-10T11:09:24.36+00:00

We are planning to migrate mysql single server to flexible server, while doing so using data migration service in offline mode we encountered the below error for few the tables which had partition. The error message is

The pipeline failed to prepare table for bulk import.
	An error occurred while preparing the table  in database  on server  for migration during activity. As a result, this table will not be migrated.
		The pipeline was unable to create the schema of object for activity using strategy MySqlSchemaMigrationTableStrategy because of a query failure.

While executing the same query manually the below error message is displayed.
Error Code: 1478. InnoDB : A partitioned table is not allowed in a shared tablespace.

What are the possible way to fix the issue and proceed with the migration. I have referred the below articles for migration.
https://learn.microsoft.com/en-us/azure/dms/tutorial-mysql-azure-single-to-flex-offline-portal?bc=%2Fazure%2Fmysql%2Fbreadcrumb%2Ftoc.json&toc=%2Fazure%2Fmysql%2Ftoc.json

Azure Database Migration service
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
845 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: This tag is no longer in use. Please use 'Azure Startups' instead.
76 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.