diff --git a/src/data/streams/aware_postgresql/container.R b/src/data/streams/aware_postgresql/container.R index 2aa9c9bb..c421d643 100644 --- a/src/data/streams/aware_postgresql/container.R +++ b/src/data/streams/aware_postgresql/container.R @@ -43,7 +43,7 @@ get_db_engine <- function(group){ 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?")) dbEngine <- dbConnect(Postgres(), db = credentials[[group]][["database"]], - user = credentials[[group]][["user"]], + username = credentials[[group]][["user"]], password = credentials[[group]][["password"]], host = credentials[[group]][["host"]], port = credentials[[group]][["port"]])