Hi! I was trying to connect to the database server using the JDBC protocol but got error as attached:
`details ← createConnectionDetails(dbms = “postgresql”,
server = paste0(server,’/’,db_name),
user = Sys.getenv(“JHED”),
password = Sys.getenv(“JHED_PWD”),
pathToDriver = Sys.getenv(x = “db_driver”),
port = 1433)
conn ← connect(details)
Connecting using PostgreSQL driverError in rJava::.jcall(jdbcDriver, “Ljava/sql/Connection;”, “connect”, :
org.postgresql.util.PSQLException: The connection attempt failed.`
Is there any things I could try to address this issue? Thanks in advance for any responses!
Shanshan