The following error appears during database transfer while performing migration to Plesk:
Warning: domain "DOMAIN_NAME"
Failed deployment of database DB_NAME (domain DOMAIN_NAME)
Errors occurred during deployment of database content. Not all content may be restored. Resolve the errors if required or try to restore the content manually from the archive: [sqldump]: ..\\DOMAIN_NAME\\databases\\DB_NAME.zip
Execution of "C:\\Program Files (x86)\\Parallels\\Plesk\\MySQL\\bin\\/mysql" --no-defaults -u DB_USER_NAME -h localhost -P 3306 DB_NAME failed with return code 1.
source C:\\Program Files (x86)\\Parallels\\Plesk\\PrivateTemp/migration-unpack-01cf7be387b28510/DB_NAME.sql
ERROR 2006 (HY000) at line 1940 in file: 'C:\\Program Files (x86)\\Parallels\\Plesk\\PrivateTemp\\migration-unpack-01cf7be387b28510\\DB_NAME.sql': MySQL server has gone away
The limit of maximum allowed request packet size has exсeeded.
Add the following string to %plesk_dir%\Databases\MySQL\data\my.ini file:
Restart mysql server and migrate the domain again.
Try to increase this limit up to 1Gb, if the error is not gone.