This crash most often occurs when you use the
source command to import large amounts of data, since it can only execute a limited amount of queries.
Instead, we recommend you use the MySQL
import command to import large amounts of data. For more detailed steps, see How to Import MySQL Databases into DigitalOcean Managed Databases