Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slå på kryptering på mysql-tilkoblinger #164

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
4 changes: 3 additions & 1 deletion R/dbConnection.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ rapOpenDbConnection <- function(registryName, dbType = "mysql") {
host = conf$host,
user = conf$user,
password = conf$pass,
bigint = "integer"
bigint = "integer",
client.flag = 2048, # Request SSL connection
ssl.verify = FALSE # Disable SSL verification
)
# ensure utf8 encoding
invisible(DBI::dbExecute(con, "SET NAMES utf8;"))
Expand Down
Loading