Are there any errors in the server log? It may be triggered by operations that take too much time or exceed the configured limits for connection timeouts. Restart the migration job. Did you try a dump via phpmyadmin? Make sure you follow the definitions here.
nest...