5

I am trying to copy from S3(.csv file) to RDS(MySQL) using Amazon Data pipeline and My error:

Error copying record
Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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.
Cause: 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.
Cause: connect timed out

NOTE: I tried RDS TO S3 with the same connection string and it worked! but S3 to RDS does not work not sure why.

Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82

2 Answers2

0

I had the same error, It was a permission problem with the EC2 instance spawn by Data Pipeline to run the Copy Activity. You need to make sure that this instance can write into your RDS instance.

Guillaume Mercey
  • 391
  • 3
  • 14
-1

I had this error. As said above please check the
jdbc:mysql://yourrdsdb.cehchrreccbt.us-east-1.rds.amazonaws.com:3306/dbname

Opal
  • 81,889
  • 28
  • 189
  • 210
SaM
  • 31
  • 1