2013-12-23 87 views
4

我试图使用亚马逊的数据管道,我的错误从S3(.csv文件)到RDS(MySQL的)复制:AWS复制S3到RDS

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

注:我试过RDS与S3相同连接字符串,它的工作!但S3到RDS不工作不知道为什么。

回答

-1

我有这个错误。如上所述,请检查
jdbc:mysql://yourrdsdb.cehchrreccbt.us-east-1.rds.amazonaws.com:3306/dbname

+0

请阅读[如何回答](http://stackoverflow.com/help/how-to-answer)。 – segarci

0

我有同样的错误,这是Data Pipeline产生的用于运行复制活动的EC2实例的权限问题。您需要确保此实例可以写入您的RDS实例。