diff --git a/R/dbConnection.R b/R/dbConnection.R index 7e087c41..f3159d4f 100644 --- a/R/dbConnection.R +++ b/R/dbConnection.R @@ -29,7 +29,9 @@ rapOpenDbConnection <- function(registryName, dbType = "mysql") { host = conf$host, user = conf$user, password = conf$pass, - bigint = "integer" + bigint = "integer", + client.flag = CLIENT_SSL, # Request SSL connection + ssl.verify = FALSE # Disable SSL verification ) # ensure utf8 encoding invisible(DBI::dbExecute(con, "SET NAMES utf8;"))