我无法连接PostgreSQL(在Heroku上)和RPostgreSQL (64位)。
我可以将本地postgresql(而不是ssl)连接到RPostgreSQL上。我可以连接Heroku上的PostgreSQL和Windows上的PgAdmin。我可以将Heroku上的PostgreSQL与OSX和Linux上的RPostgreSQL连接起来。
只有Windows上的RPostgreSQL不能连接Heroku PostgreSQL。
错误信息是:
Error in postgresqlNewConnection(drv, ...) :
RD-DBI driver: (could not connect....xxxxx有什么解决办法吗?
发布于 2016-08-14 13:11:53
它与这个问题有关:Can't create dbConnect to Postgres with SSL。一个对我有用的解决方案(也适用于Heroku )是使用RPostgres包。您可以安装开发工具。版本来自Github:https://github.com/rstats-db/RPostgres。
https://stackoverflow.com/questions/38942118
复制相似问题