Help Center/ Data Replication Service/ Troubleshooting/ Failure Cases/ Real-Time Migration and Synchronization from MySQL to MySQL/ Full Phase Error: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Updated on 2023-01-17 GMT+08:00

Full Phase Error: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Scenarios

During a full migration or synchronization, an error is reported, and the log information is as follows: service DATAMOVE failed, cause by: Unable to connect to DBMS: url=jdbc:mysql://*** user=root, Caused by: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Possible Causes

The connection to the source or destination database fails to be established.

Solution

  1. Check whether the source or destination database is running properly.
  2. Check whether the network connection between the DRS instance and the source or destination database is normal.
  3. Check whether the whitelist of the source or destination database allows access from DRS instance IP addresses.