3

I am trying to connect to my database from R. When I start the server from the shell (using unix), i have to pass the --ssl-ca=myfile. How do I pass this flag using the dbConnect function? Thanks.

Alex
  • 19,533
  • 37
  • 126
  • 195

1 Answers1

6

Problem solved. Create a file in some directory and in that file write the following:

[client]
password=yourpass
username=yourusername
...
ssl-ca=yourcertspath

Then pass the file name to the default.file param of dbConnect

Alex
  • 19,533
  • 37
  • 126
  • 195