- Plesk for Windows
- Plesk for Linux
Migration failed with the following error in Plesk > Tools & Settings > Migration & Transfer Manager > Migration session > Logs:
PLESK_ERROR: [ERROR] [example.com] Failed to perform an action on subscription 'example.com': Failed to copy content of database 'db_name' Exception message: Migration tools tried to perform operation in 3 attempts: Command execution failed on the local server with non-zero exit code.
command: mysql --defaults-file=/usr/local/psa/var/modules/panel-migrator/sessions/20171109012854/target-server/my_localhost_db_name.cnf -h localhost -P 3306 -uadmin db_name < /usr/local/psa/var/modules/panel-migrator/sessions/20171109012854/target-server/db-dumps/db_name.sql
exit code: 1
stderr: ERROR 2006 (HY000) at line: MySQL server has gone away
Not enough time-out limit and maximum size of packets for MySQL to migrate affected databases. For example, when a database
has the size more then 5GB so it cannot be dumped because of timeout on the source server, or a packet size is more then is allowed my the default MySQL configuration.