无法将PostgreSQL(通过SSL)连接到Windows上的RPostgresql [英] Can not connect PostgreSQL(over SSL) with RPostgresql on Windows
问题描述
我可以将本地postgresql(不是ssl)与Windows上的RPostgreSQL连接起来。我可以从Windows上的PgAdmin连接Heroku上的PostgreSQL。我可以将Heroku上的PostgreSQL与OSX和Linux上的RPostgreSQL连接起来。
只有Windows上的RPostgreSQL无法连接Heroku PostgreSQL。
错误讯息是:
postgresqlNewConnection(drv,...)中的错误:
RD-DBI驱动程序:(无法连接.... xxxxx
有没有解决方法?
它与此问题有关:无法创建dbConnect以Postgres with SSL 。一个适用于我的解决方案(也适用于Heroku DB)是使用RPostgres软件包。您可以从Github安装开发版: https://github.com/rstats-db/RPostgres 。
I can not connect PostgreSQL(on Heroku) with RPostgreSQL on Windows(64bit).
I can connect local postgresql(not ssl) with RPostgreSQL on Windows. I can connect PostgreSQL on Heroku from PgAdmin on Windows. I can connect PostgreSQL on Heroku with RPostgreSQL on OSX and Linux.
Only RPostgreSQL on Windows can not connect Heroku PostgreSQL.
Error message is:
Error in postgresqlNewConnection(drv, ...) :
RD-DBI driver: (could not connect....xxxxx
Is there any solution?
It's related to this issue: Can't create dbConnect to Postgres with SSL. One solution that worked for me (also with a Heroku DB) is to use the RPostgres package instead. You can install the dev. version from Github: https://github.com/rstats-db/RPostgres.
这篇关于无法将PostgreSQL(通过SSL)连接到Windows上的RPostgresql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!