- Plesk 11.x for Windows
- Plesk 12.0 for Windows
The following error appears during database transfer while performing migration to Plesk:
PLESK_ERROR: Warning: domain "example.com"
Failed deployment of database DB_NAME (domain example.com)
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]: ..\\example.com\\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
Restart MySQL server and migrate the domain again.
Try to increase this limit up to 1Gb, if the error is not gone.