- Newest
- Most votes
- Most comments
Hi Lucas,
Please set net_read_timeout, net_write_timeout and wait_timeout to a value greater than 300 seconds in the source and target databases.
To confirm that the values have been set at the database level, please login to the source and target databases using a MySQL client like MySQL Workbench and run the below query to get the values:
show variables like 'net_read_timeout'
show variables like 'net_write_timeout'
show variables like 'wait_timeout'
If the above values are below 300 seconds, then you need to set the parameters at the database level. For Aurora MySQL, please attached a custom DB cluster parameter group to the cluster, set the parameters in this parameter group and reboot the writer instance.
Once the parameters are set to above 300, please create a new pre-migration assessment report.
this should give some guidance https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Troubleshooting.html#CHAP_Troubleshooting.MySQL.ConnectionDisconnect
Hi everyone, I initially got the error message, then after updating my DB instance and DB Cluster parameter groups for MySQL and Aurora MySQL with the value 3600, the premigration assessment was successful.
Try reboot your DB instances after updating the parameter groups
Relevant content
- asked 2 months ago
- asked a year ago
- asked 2 months ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
That link was indicated inside the troubleshoot of the resource and have not been helpful so far, only thing missing is trying max_allowed_packet, which I thought at first it could not be related. Will update here if that works.