Help Center/ Data Replication Service/ Troubleshooting/ Solutions to Failed Check Items/ Database Parameters/ Checking Whether the max_allowed_packet Value of the Destination Database Is too Small
Updated on 2024-11-30 GMT+08:00

Checking Whether the max_allowed_packet Value of the Destination Database Is too Small

In MySQLor MariaDB migration and synchronization scenarios, if the value of max_allowed_packet of the destination database is less than 100 MB, data cannot be written to the destination database. As a result, the full migration fails.

Failure Cause

The max_allowed_packet value of the destination database is too small, which may cause data fails to be written during the migration.

Handling Suggestion

Set the max_allowed_packet value greater than 100 MB in the destination database.