Correct the name of a field.
parent
fcec3e2f93
commit
b335561a55
|
@ -43,7 +43,7 @@ get_db_engine <- function(group){
|
||||||
if(!group %in% names(credentials))
|
if(!group %in% names(credentials))
|
||||||
stop(paste("The credentials group",group, "does not exist in ./credentials.yaml. The only groups that exist in that file are:", paste(names(credentials), collapse = ","), ". Did you forget to set the group in [PHONE_DATA_STREAMS][aware_mysql][DATABASE_GROUP] in config.yaml?"))
|
stop(paste("The credentials group",group, "does not exist in ./credentials.yaml. The only groups that exist in that file are:", paste(names(credentials), collapse = ","), ". Did you forget to set the group in [PHONE_DATA_STREAMS][aware_mysql][DATABASE_GROUP] in config.yaml?"))
|
||||||
dbEngine <- dbConnect(Postgres(), db = credentials[[group]][["database"]],
|
dbEngine <- dbConnect(Postgres(), db = credentials[[group]][["database"]],
|
||||||
user = credentials[[group]][["user"]],
|
username = credentials[[group]][["user"]],
|
||||||
password = credentials[[group]][["password"]],
|
password = credentials[[group]][["password"]],
|
||||||
host = credentials[[group]][["host"]],
|
host = credentials[[group]][["host"]],
|
||||||
port = credentials[[group]][["port"]])
|
port = credentials[[group]][["port"]])
|
||||||
|
|
Loading…
Reference in New Issue