I have searched and tried several ways but haven't found a solution, I hope I can get the right answer and solution here.
My apps Can't connect to Postgresql after deploying to shinyapps.io,
is it a different driver issue between my computer and shinyapps server or what?
Here is my configuration
mypw<- 'xxxxxxxx'
myPort <- '5432'
myDB <- 'shiny_DB'
myUser <- 'user1'
con <- DBI::dbConnect(odbc::odbc(),
Driver = "PostgreSQL Unicode",
Server = "xx.xxx.x.xx",
Database = myDB,
UID = myUser,
PWD = mypw,
Port = 5432)
here is the log shown on shinyapps.io
Thankyou