On heroku the database uri is stored in an environment variable.
> db_uri = Sys.getenv(''DATABASE_URL')
I'm not sure if you can use that directly or if you will need to parse
it for username, password etc.
On Thu, 2016-04-21 at 16:49 +0100, Izaak Rogan wrote:
> Hi,
>
> I'm having trouble connec
I don't use PostGreSQL, but I strongly suspect that you would have this problem
using other drivers as well, so pick any method described in the PostGreSQL
documentation to verify that you can reach the server and your dbname from the
machine where you are running R. Note that where you are conn
Hi,
I'm having trouble connecting to my postgreSQL db on Heroku(Amazon)
using RPostgreSQL.
I've looked through GitHub for people doing the same thing. There are
quite a few examples and all look similar to the below:
drv <- dbDriver("PostgreSQL")
con <- dbConnect(
drv,
dbnam
3 matches
Mail list logo