Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
mod to db.R for RaMP-DB package v3, needs db_port in config
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbraisted committed Oct 31, 2023
1 parent a998412 commit 2824e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/ramp-server/db.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ host <- config$db_host
dbname <- config$db_dbname
username <- config$db_username
conpass <- config$db_password
port <- config$db_port

#pkg.globals <- setConnectionToRaMP(dbname=dbname,username=username,conpass=conpass,host = host)

rampDB <<- RaMP:::.RaMP(driver = RMariaDB::MariaDB(), dbname = dbname,
username = username, conpass = conpass,
host = host, port = as.integer(33606))
host = host, port = as.integer(port))



0 comments on commit 2824e34

Please sign in to comment.