将RSTUDIO连接到RDS -AWS

发布于 2025-01-27 14:05:32 字数 269 浏览 2 评论 0原文

我正在用DS写论文,为此,我想在云中设置R和RD。我已经成功设置了R和MySQL RD,并通过我的续集Pro连接到RDS。

但是,我试图在R中访问DB,但给了我这个错误:

无法连接到数据库:错误:无法连接到'... eu-central-1.rds.amazonaws.com上的mysql Server(110)

谢谢!

PS。已经阅读了多篇文章并查看了YT教程,但没有谈论如何在AWS中建立DB和R之间的联系

I'm writing my thesis in DS and for that purpose I want to set up R and RDS in cloud. I have successfully set up both R and MySQL RDS and connected to the RDS thru my sequel pro.

However, I am trying to access the DB in R, but gives me this error:

Failed to connect to database: Error: Can't connect to MySQL server on '...eu-central-1.rds.amazonaws.com' (110)

Thanks!

PS. Already read through multiple articles and viewed YT tutorials but non talk about how to establish a connection between DB and R within AWS

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文