无法在Windows

时间:2016-08-14 12:12:33

标签: r windows ssl heroku rpostgresql

我无法在Windows(64位)上将PostgreSQL(在Heroku上)与RPostgreSQL连接。

我可以在Windows上将本地postgresql(而不是ssl)与RPostgreSQL连接。我可以在Windows上从PgAdmin连接Heroku上的PostgreSQL。我可以在OSX和Linux上使用RPostgreSQL连接Heroku上的PostgreSQL。

Windows上只有RPostgreSQL无法连接Heroku PostgreSQL。

错误信息是:

Error in postgresqlNewConnection(drv, ...) : 
  RD-DBI driver: (could not connect....xxxxx

有什么解决方案吗?

1 个答案:

答案 0 :(得分:6)

与此问题有关:Can't create dbConnect to Postgres with SSL。一个适用于我(也使用Heroku DB)的解决方案是使用RPostgres包。你可以安装dev。来自Github的版本:https://github.com/rstats-db/RPostgres

相关问题