2013-12-23 125 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實例。